wolfssl: use old version API without openssl extra

Closes #15205
This commit is contained in:
Colton Willey 2024-10-08 12:24:42 -07:00 committed by Daniel Stenberg
parent e377c91766
commit 0f7e72fbcc
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -658,7 +658,8 @@ wssl_add_default_ciphers(bool tls13, struct dynbuf *buf)
}
#endif
#if LIBWOLFSSL_VERSION_HEX < 0x04002000 /* 4.2.0 (2019) */
/* 4.2.0 (2019) */
#if LIBWOLFSSL_VERSION_HEX < 0x04002000 || !defined(OPENSSL_EXTRA)
static int
wssl_legacy_CTX_set_min_proto_version(WOLFSSL_CTX* ctx, int version)
{