]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
polarssl: require >= 1.3.8
authorSteffan Karger <steffan.karger@fox-it.com>
Mon, 23 Nov 2015 10:26:24 +0000 (11:26 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 23 Nov 2015 11:44:15 +0000 (12:44 +0100)
Since commit 67a67e39, we use API calls that were introduced in polarssl
1.3.8.  Update the configure check to reflect that.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1448274384-22953-1-git-send-email-steffan.karger@fox-it.com>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10563
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac

index 342458433e440a0f69144a4c5131a0abf3f6474b..d3cacc88ad4dfa06464963e53439ec7056266ad5 100644 (file)
@@ -871,13 +871,13 @@ if test "${with_crypto_library}" = "polarssl" ; then
 #include <polarssl/version.h>
                        ]],
                        [[
-#if POLARSSL_VERSION_NUMBER < 0x01030300 || POLARSSL_VERSION_NUMBER >= 0x01040000
+#if POLARSSL_VERSION_NUMBER < 0x01030800 || POLARSSL_VERSION_NUMBER >= 0x01040000
 #error invalid version
 #endif
                        ]]
                )],
                [AC_MSG_RESULT([ok])],
-               [AC_MSG_ERROR([PolarSSL 1.3.x required and must be 1.3.3 or later])]
+               [AC_MSG_ERROR([PolarSSL 1.3.x required and must be 1.3.8 or later])]
        )
 
        polarssl_with_pkcs11="no"