From: Colton Willey Date: Tue, 8 Oct 2024 19:24:42 +0000 (-0700) Subject: wolfssl: use old version API without openssl extra X-Git-Tag: curl-8_11_0~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7e72fbcc38abd4dce64eeda8878798cbf13798;p=thirdparty%2Fcurl.git wolfssl: use old version API without openssl extra Closes #15205 --- diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c index 896e490110..5be005b912 100644 --- a/lib/vtls/wolfssl.c +++ b/lib/vtls/wolfssl.c @@ -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) {