From 7fc9245f5d97c7d76c635f8a3e38ab55ab27b27b Mon Sep 17 00:00:00 2001 From: Josh Cepek Date: Thu, 14 Nov 2013 12:02:59 -0600 Subject: [PATCH] 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 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.47.2