If accepted, please do not forward to Factory until d:l:e bleeding edge rebuilt. OBS-URL: https://build.opensuse.org/request/show/404842 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=44
22 lines
850 B
Diff
22 lines
850 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-19.0/lib/crypto/c_src/crypto.c
|
|
===================================================================
|
|
--- otp-OTP-19.0.orig/lib/crypto/c_src/crypto.c
|
|
+++ otp-OTP-19.0/lib/crypto/c_src/crypto.c
|
|
@@ -97,7 +97,8 @@
|
|
#if OPENSSL_VERSION_NUMBER >= OpenSSL_version(0,9,8,'o') \
|
|
&& !defined(OPENSSL_NO_EC) \
|
|
&& !defined(OPENSSL_NO_ECDH) \
|
|
- && !defined(OPENSSL_NO_ECDSA)
|
|
+ && !defined(OPENSSL_NO_ECDSA) \
|
|
+ && !defined(OPENSSL_NO_EC2M)
|
|
# define HAVE_EC
|
|
#endif
|
|
|