aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/crypto.c
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-06-26 16:40:12 +0200
committerHans Nilsson <[email protected]>2018-08-23 12:47:28 +0200
commit2825b2bddfed374b3cebb0f432e1f97aaa811bfa (patch)
tree425d5f7abf71fa8124a5397e4d3b06c3bead4960 /lib/crypto/c_src/crypto.c
parent4479223613dc6a0e82059c310b13fd072b9e31a3 (diff)
downloadotp-2825b2bddfed374b3cebb0f432e1f97aaa811bfa.tar.gz
otp-2825b2bddfed374b3cebb0f432e1f97aaa811bfa.tar.bz2
otp-2825b2bddfed374b3cebb0f432e1f97aaa811bfa.zip
crypto: Enable EDDH all OpenSSL cryptolib over beta version 1.1.1-pre8
Diffstat (limited to 'lib/crypto/c_src/crypto.c')
-rw-r--r--lib/crypto/c_src/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 72aa44e7db..06953b162d 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -155,8 +155,8 @@
# define HAVE_EC
#endif
-// (test for == 1.1.1pre8)
-#if OPENSSL_VERSION_NUMBER == (PACKED_OPENSSL_VERSION_PLAIN(1,1,1) - 7) \
+// (test for >= 1.1.1pre8)
+#if OPENSSL_VERSION_NUMBER >= (PACKED_OPENSSL_VERSION_PLAIN(1,1,1) - 7) \
&& !defined(HAS_LIBRESSL) \
&& defined(HAVE_EC)
// EXPERIMENTAL: