diff --git a/lib/openssl/rsaes.c b/lib/openssl/rsaes.c index f2bc4141..932538b5 100644 --- a/lib/openssl/rsaes.c +++ b/lib/openssl/rsaes.c @@ -25,7 +25,7 @@ #include -#ifdef EVP_PKEY_CTX_set_rsa_oaep_md +#if defined (EVP_PKEY_CTX_set_rsa_oaep_md) || (OPENSSL_VERSION_NUMBER >= 0x30000000L) #define NAMES "RSA1_5", "RSA-OAEP", "RSA-OAEP-224", "RSA-OAEP-256", "RSA-OAEP-384", "RSA-OAEP-512" #define HAVE_OAEP #else