mirror of
https://github.com/curl/curl.git
synced 2025-03-13 15:37:04 +08:00
amissl: fix AmiSSL v5 detection
Due to changes in the AmiSSL SDK, the detection needed adjusting. Closes #11477
This commit is contained in:
parent
849b3fed04
commit
6290bdf0ec
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user