wolfssl: fix build without TLS 1.3 support

Follow-up to: eac64c1879

Closes #21161
This commit is contained in:
Daniel Stenberg 2026-03-30 18:36:20 +02:00
parent 8deaf04feb
commit 7deed5bb55
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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,