From 947f86df99ded4f3eda89ffd082d338f421b85a5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 9 Feb 2015 15:28:09 +0000 Subject: [PATCH] openssl: fix upstream regression for non-ec builds Signed-off-by: Steven Barth SVN-Revision: 44365 --- package/libs/openssl/Makefile | 2 +- .../libs/openssl/patches/220-fix-no-ec-build.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 package/libs/openssl/patches/220-fix-no-ec-build.patch diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 860395ed18..b5f5ad73f2 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openssl PKG_VERSION:=1.0.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_USE_MIPS16:=0 PKG_BUILD_PARALLEL:=1 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 + #include + #include ++#ifndef OPENSSL_NO_EC + #ifdef OPENSSL_NO_EC2M + # include + #endif ++#endif + #include + #include + #include "ssl_locl.h" -- 2.30.2