erlang/otp-0013-Revert-In-openssl-1.0.1e-EC_GROUP_new_curve_GF2m-fun.patch
Peter Lemenkov cc669331e2 Revert latest patch - does too much damage
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2019-02-12 15:53:24 +03:00

22 lines
704 B
Diff

From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 12 Feb 2019 15:50:30 +0300
Subject: [PATCH] Revert "In openssl 1.0.1e EC_GROUP_new_curve_GF2m function is
wrapped by #ifndef OPENSSL_NO_EC2M."
This reverts commit 805011209d744ed5aa39cd23e020bee3458ee19a.
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index cc1bcc1fb3..6dd263adb2 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -151,8 +151,7 @@
#if OPENSSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION(0,9,8,'o') \
&& !defined(OPENSSL_NO_EC) \
&& !defined(OPENSSL_NO_ECDH) \
- && !defined(OPENSSL_NO_ECDSA) \
- && !defined(OPENSSL_NO_EC2M)
+ && !defined(OPENSSL_NO_ECDSA)
# define HAVE_EC
#endif