Blame otp-0009-TEMPORARILY-disable-ECC-until-dust-settles.patch

a4b4d0
From: Peter Lemenkov <lemenkov@gmail.com>
a4b4d0
Date: Thu, 24 Oct 2013 16:44:22 +0400
a4b4d0
Subject: [PATCH] TEMPORARILY disable ECC until dust settles
a4b4d0
a4b4d0
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
a4b4d0
a4b4d0
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
18d29e
index 42fb172..eb99719 100644
a4b4d0
--- a/lib/crypto/c_src/crypto.c
a4b4d0
+++ b/lib/crypto/c_src/crypto.c
a4b4d0
@@ -74,13 +74,6 @@
a4b4d0
 # define HAVE_DES_ede3_cfb_encrypt
a4b4d0
 #endif
a4b4d0
 
a4b4d0
-#if OPENSSL_VERSION_NUMBER >= 0x009080ffL \
a4b4d0
-	&& !defined(OPENSSL_NO_EC) \
a4b4d0
-	&& !defined(OPENSSL_NO_ECDH) \
a4b4d0
-	&& !defined(OPENSSL_NO_ECDSA)
a4b4d0
-# define HAVE_EC
a4b4d0
-#endif
a4b4d0
-
a4b4d0
 #if defined(HAVE_EC)
a4b4d0
 #include <openssl/ec.h>
a4b4d0
 #include <openssl/ecdh.h>