From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 5 Feb 2019 17:43:18 +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 01593ce68f154686cba0815c8121db5912a5e02a.
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index a1fe05dd41..df607732bf 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -168,8 +168,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