OBS-URL: https://build.opensuse.org/request/show/342548 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=36
22 lines
841 B
Diff
22 lines
841 B
Diff
commit d485136c670954ea8d933b332f39f9265727c745
|
|
Author: Matwey V. Kornilov <matwey.kornilov@gmail.com>
|
|
Date: Sat Dec 21 00:13:35 2013 +0400
|
|
|
|
In openssl 1.0.1e EC_GROUP_new_curve_GF2m function is wrapped by #ifndef OPENSSL_NO_EC2M.
|
|
We have to check whether OPENSSL_NO_EC2M is set, and if it is, then we do not have EC_GROUP_new_curve_GF2m function and do not HAVE_EC.
|
|
|
|
Index: otp-OTP-18.1.3/lib/crypto/c_src/crypto.c
|
|
===================================================================
|
|
--- otp-OTP-18.1.3.orig/lib/crypto/c_src/crypto.c
|
|
+++ otp-OTP-18.1.3/lib/crypto/c_src/crypto.c
|
|
@@ -82,7 +82,8 @@
|
|
#if OPENSSL_VERSION_NUMBER >= 0x009080ffL \
|
|
&& !defined(OPENSSL_NO_EC) \
|
|
&& !defined(OPENSSL_NO_ECDH) \
|
|
- && !defined(OPENSSL_NO_ECDSA)
|
|
+ && !defined(OPENSSL_NO_ECDSA) \
|
|
+ && !defined(OPENSSL_NO_EC2M)
|
|
# define HAVE_EC
|
|
#endif
|
|
|