wolfssl: clear variable to avoid uninitialized use

Pointed out by ZeroPath
Closes #19126
This commit is contained in:
Daniel Stenberg 2025-10-18 23:41:26 +02:00
parent e0798466a8
commit 6550dd0f3d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -357,7 +357,7 @@ static int wssl_bio_cf_in_read(WOLFSSL_BIO *bio, char *buf, int blen)
struct ssl_connect_data *connssl = cf->ctx;
struct wssl_ctx *wssl = (struct wssl_ctx *)connssl->backend;
struct Curl_easy *data = CF_DATA_CURRENT(cf);
size_t nread;
size_t nread = 0;
CURLcode result = CURLE_OK;
DEBUGASSERT(data);