From c5f6ad3c773b9eda38aa063224c594716eeb3575 Mon Sep 17 00:00:00 2001 From: Cyril Servant Date: Fri, 30 Oct 2026 15:58:37 +0100 Subject: [PATCH] fix: include openssl/opensslv.h in src/jose.h --- src/jose.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jose.h b/src/jose.h index d2a8a4b5..66cd50bb 100644 --- a/src/jose.h +++ b/src/jose.h @@ -55,6 +55,11 @@ #include "json.h" +/* the OIDC_JOSE_*_SUPPORT macros below evaluate OPENSSL_VERSION_NUMBER in #if + * directives, where the preprocessor treats an undefined identifier as 0; the + * OpenSSL version must therefore be known before they are defined */ +#include + /* opaque forward declaration of the OpenSSL BIO type used in the oidc_jwk_pem_bio_to_jwk() prototype below */ typedef struct bio_st BIO;