]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
amissl: fix AmiSSL v5 detection
authorFutaura <oliver@futaura.co.uk>
Wed, 19 Jul 2023 18:49:09 +0000 (19:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 21 Jul 2023 10:45:11 +0000 (12:45 +0200)
Due to changes in the AmiSSL SDK, the detection needed adjusting.

Closes #11477

m4/curl-amissl.m4

index 4b80842b915a53f399055453e991971e9261e600..95208f0c210b15fefd6f671d895fe94f408d43b6 100644 (file)
@@ -32,7 +32,7 @@ if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then
         #include <libraries/amisslmaster.h>
         #include <openssl/opensslv.h>
       ]],[[
-        #if defined(AMISSL_CURRENT_VERSION) && (AMISSL_CURRENT_VERSION >= AMISSL_V303) && \
+        #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \
             defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \
             defined(PROTO_AMISSL_H)
         return 0;