From 7deed5bb5599e4f8269d7d567ba0f2e3122a6826 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 Mar 2026 18:36:20 +0200 Subject: [PATCH] wolfssl: fix build without TLS 1.3 support Follow-up to: eac64c187997a3bdbdc27c Closes #21161 --- 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 4f90da4534..328a149f63 100644 --- a/lib/vtls/wolfssl.c +++ b/lib/vtls/wolfssl.c @@ -1096,6 +1096,7 @@ static CURLcode wssl_init_ciphers(struct Curl_easy *data, } infof(data, "Cipher selection: %s", ciphers); } + return CURLE_OK; #else CURLcode result = CURLE_OK; if(conn_config->cipher_list || conn_config->cipher_list13) { @@ -1131,8 +1132,8 @@ static CURLcode wssl_init_ciphers(struct Curl_easy *data, } curlx_dyn_free(&c); } -#endif return result; +#endif } static CURLcode wssl_init_curves(struct Curl_easy *data,