From 6290bdf0eccd3eaf1f9263e8481eb53f8b274918 Mon Sep 17 00:00:00 2001 From: Futaura Date: Wed, 19 Jul 2023 19:49:09 +0100 Subject: [PATCH] amissl: fix AmiSSL v5 detection Due to changes in the AmiSSL SDK, the detection needed adjusting. Closes #11477 --- m4/curl-amissl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/curl-amissl.m4 b/m4/curl-amissl.m4 index 4b80842b9..95208f0c2 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;