summaryrefslogtreecommitdiff
path: root/package/libs/openssl
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 18:55:17 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 18:55:25 +0200
commite6b69e579348d4c16cba07e26f273e9d3bbe6516 (patch)
tree1c51d5ccfde0544f1975beb459dd86d64a45826f /package/libs/openssl
parentc52853902ecedad4dbce4fdac66d92592e6a4d82 (diff)
downloadmtk-20170518-e6b69e579348d4c16cba07e26f273e9d3bbe6516.zip
mtk-20170518-e6b69e579348d4c16cba07e26f273e9d3bbe6516.tar.gz
mtk-20170518-e6b69e579348d4c16cba07e26f273e9d3bbe6516.tar.bz2
package/libs/*ssl: adds, probably from OpenWRT
Diffstat (limited to 'package/libs/openssl')
-rwxr-xr-xpackage/libs/openssl/patches/220-fix-no-ec-build.patch14
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 100755
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"