]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
wolfssl: use old version API without openssl extra
authorColton Willey <colton@wolfssl.com>
Tue, 8 Oct 2024 19:24:42 +0000 (12:24 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 9 Oct 2024 05:53:45 +0000 (07:53 +0200)
Closes #15205

lib/vtls/wolfssl.c

index 896e490110cf44532352efe3b0b89e07ed593f69..5be005b9124da9eeeef761d301d058d8a7fb5981 100644 (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)
 {