]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Require a 1.2.x PolarSSL version
authorJosh Cepek <josh.cepek@usa.net>
Thu, 14 Nov 2013 18:02:59 +0000 (12:02 -0600)
committerGert Doering <gert@greenie.muc.de>
Thu, 14 Nov 2013 20:31:50 +0000 (21:31 +0100)
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 <josh.cepek@usa.net>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <5284F32D.3000206@usa.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7968
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac

index 5fad0af685fd7877866afc9f00e4aceb37d02aad..b181f6d619760ad3b58cd60a4b89a72b9d2f4945 100644 (file)
@@ -814,13 +814,13 @@ if test "${with_crypto_library}" = "polarssl" ; then
 #include <polarssl/version.h>
                        ]],
                        [[
-#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"