Lines 13-24
for FreeBSD 13.3 and 13.4:
Link Here
|
13 |
/* do not warn about OpenSSL 3.2.0, the 3.2.1 fix is of low priority */ |
13 |
/* do not warn about OpenSSL 3.2.0, the 3.2.1 fix is of low priority */ |
14 |
# if OPENSSL_VERSION_NUMBER >= 0x30100000L && OPENSSL_VERSION_NUMBER < 0x30200000L |
14 |
# if OPENSSL_VERSION_NUMBER >= 0x30100000L && OPENSSL_VERSION_NUMBER < 0x30200000L |
15 |
# if OPENSSL_VERSION_NUMBER < 0x30100040L |
15 |
# if OPENSSL_VERSION_NUMBER < 0x30100040L |
16 |
@@ -402,7 +402,7 @@ enum { SSL_min_security_level = 2 }; |
|
|
17 |
#endif /* USING_WOLFSSL */ |
18 |
|
19 |
/* workaround for EVP_MD_fetch API - missing on wolfSSL and LibreSSL */ |
20 |
-#if defined(USING_WOLFSSL) || defined(LIBRESSL_VERSION_NUMBER) |
21 |
+#if OPENSSL_VERSION_NUMBER < 0x30000000L |
22 |
# define EVP_MD_fetch(x, digest, y) (EVP_get_digestbyname(digest)) |
23 |
# define EVP_MD_free(x) /* NOOP */ |
24 |
# define fm_EVP_MD_const const // compatibility const EVP_MD* from EVP_get_digestbyname() |