diff options
author | Steven Barth <steven@midlink.org> | 2015-02-09 15:26:35 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-02-09 15:26:35 +0000 |
commit | a98b1cf59724e9d86e141754e04eb0a165fd4e3d (patch) | |
tree | 177a4a5e70f1cb539075a5651ec61cf79761d500 /package/libs/openssl/patches/220-fix-no-ec-build.patch | |
parent | 66b84f777af7094bf0874f271035c38dd52b37d1 (diff) | |
download | upstream-a98b1cf59724e9d86e141754e04eb0a165fd4e3d.tar.gz upstream-a98b1cf59724e9d86e141754e04eb0a165fd4e3d.tar.bz2 upstream-a98b1cf59724e9d86e141754e04eb0a165fd4e3d.zip |
openssl: fix upstream regression for non-ec builds
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/openssl/patches/220-fix-no-ec-build.patch')
-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 0000000000..44ec50eae4 --- /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" |