alpine/alpine-2.11-openssl_version.patch
2015-10-09 13:03:26 -05:00

33 lines
1.2 KiB
Diff

diff -up alpine-2.11/configure.ac.openssl alpine-2.11/configure.ac
diff -up alpine-2.11/configure.openssl alpine-2.11/configure
--- alpine-2.11/configure.openssl 2013-08-14 23:36:22.000000000 -0500
+++ alpine-2.11/configure 2013-11-08 09:30:00.000000000 -0600
@@ -16722,8 +16722,8 @@ if test "$ac_res" != no; then :
LIBS="$LIBS -lssl"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
-$as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0" >&5
+$as_echo_n "checking Openssl library version >= 1.0.0... " >&6; }
if test "$cross_compiling" = yes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
@@ -16738,7 +16738,7 @@ else
#include <openssl/ssl.h>
int main(void) {
- if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
+ if (OPENSSL_VERSION_NUMBER >= 0x10000003L)
exit(0);
exit(2);
@@ -16752,7 +16752,7 @@ $as_echo "yes" >&6; }
else
- as_fn_error $? "Install openssl version >= 1.0.1c" "$LINENO" 5
+ as_fn_error $? "Install openssl version >= 1.0.0" "$LINENO" 5
exit 1
fi