amissl: fix AmiSSL v5 detection

Due to changes in the AmiSSL SDK, the detection needed adjusting.

Closes #11477
This commit is contained in:
Futaura 2023-07-19 19:49:09 +01:00 committed by Daniel Stenberg
parent 849b3fed04
commit 6290bdf0ec
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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;