diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c index 9a3ea07..d972f79 100644 --- a/lib/crypto/c_src/crypto.c +++ b/lib/crypto/c_src/crypto.c @@ -103,7 +103,9 @@ # endif /* LibreSSL wants the 1.0.1 API */ -# define NEED_EVP_COMPATIBILITY_FUNCTIONS +# if LIBRESSL_VERSION_NUMBER < 0x2070000fL +# define NEED_EVP_COMPATIBILITY_FUNCTIONS +# endif #endif