From 0f7e72fbcc38abd4dce64eeda8878798cbf13798 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Tue, 8 Oct 2024 12:24:42 -0700 Subject: [PATCH] wolfssl: use old version API without openssl extra Closes #15205 --- lib/vtls/wolfssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.47.3