diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-02-09 15:26:35 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-02-09 15:26:35 +0000 |
commit | 909af3fa4b433c2b6bded30a17564633bc14c7c1 (patch) | |
tree | da9e5a6bc9a5bccee297607d37896333fa6c5fa4 /package/libs/openssl/patches | |
parent | ed84ceaa02386efa5eb46ac24abb644a1d176cfd (diff) | |
download | mtk-20170518-909af3fa4b433c2b6bded30a17564633bc14c7c1.zip mtk-20170518-909af3fa4b433c2b6bded30a17564633bc14c7c1.tar.gz mtk-20170518-909af3fa4b433c2b6bded30a17564633bc14c7c1.tar.bz2 |
openssl: fix upstream regression for non-ec builds
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44364
Diffstat (limited to 'package/libs/openssl/patches')
-rw-r--r-- | package/libs/openssl/patches/220-fix-no-ec-build.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libs/openssl/patches/220-fix-no-ec-build.patch b/package/libs/openssl/patches/220-fix-no-ec-build.patch new file mode 100644 index 0000000..44ec50e --- /dev/null +++ b/package/libs/openssl/patches/220-fix-no-ec-build.patch @@ -0,0 +1,14 @@ +--- a/ssl/t1_lib.c ++++ b/ssl/t1_lib.c +@@ -113,9 +113,11 @@ + #include <openssl/objects.h> + #include <openssl/evp.h> + #include <openssl/hmac.h> ++#ifndef OPENSSL_NO_EC + #ifdef OPENSSL_NO_EC2M + # include <openssl/ec.h> + #endif ++#endif + #include <openssl/ocsp.h> + #include <openssl/rand.h> + #include "ssl_locl.h" |