aboutsummaryrefslogtreecommitdiffstats
path: root/community/erlang/libressl-2.7.patch
blob: 5deaaa6a4b0f235d3e5619956064490228fa23c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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