From: Josh Cepek Date: Thu, 14 Nov 2013 18:02:59 +0000 (-0600) Subject: Require a 1.2.x PolarSSL version X-Git-Tag: v2.4_alpha1~534 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc9245f5d97c7d76c635f8a3e38ab55ab27b27b;p=thirdparty%2Fopenvpn.git Require a 1.2.x PolarSSL version Upstream policy on PolarSSL API compatibility does not guarantee stability between point-releases. For OpenVPN, we must verify a 1.2.x version with the current codebase. This fixes bug#343. Signed-off-by: Josh Cepek Acked-by: Steffan Karger Message-Id: <5284F32D.3000206@usa.net> URL: http://article.gmane.org/gmane.network.openvpn.devel/7968 Signed-off-by: Gert Doering --- diff --git a/configure.ac b/configure.ac index 5fad0af68..b181f6d61 100644 --- a/configure.ac +++ b/configure.ac @@ -814,13 +814,13 @@ if test "${with_crypto_library}" = "polarssl" ; then #include ]], [[ -#if POLARSSL_VERSION_NUMBER < 0x01020A00 +#if POLARSSL_VERSION_NUMBER < 0x01020A00 || POLARSSL_VERSION_NUMBER >= 0x01030000 #error invalid version #endif ]] )], [AC_MSG_RESULT([ok])], - [AC_MSG_ERROR([PolarSSL 1.2.10 or newer required])] + [AC_MSG_ERROR([PolarSSL 1.2.x required and must be 1.2.10 or later])] ) polarssl_with_pkcs11="no"