From: Futaura Date: Wed, 19 Jul 2023 18:49:09 +0000 (+0100) Subject: amissl: fix AmiSSL v5 detection X-Git-Tag: curl-8_2_1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6290bdf0eccd3eaf1f9263e8481eb53f8b274918;p=thirdparty%2Fcurl.git amissl: fix AmiSSL v5 detection Due to changes in the AmiSSL SDK, the detection needed adjusting. Closes #11477 --- diff --git a/m4/curl-amissl.m4 b/m4/curl-amissl.m4 index 4b80842b91..95208f0c21 100644 --- a/m4/curl-amissl.m4 +++ b/m4/curl-amissl.m4 @@ -32,7 +32,7 @@ if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then #include #include ]],[[ - #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;