mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 19:01:25 +02:00
16 lines
380 B
Diff
16 lines
380 B
Diff
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
|
|
|
|
|