mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:31:41 +03:00
wolfssl: clear variable to avoid uninitialized use
Pointed out by ZeroPath Closes #19126
This commit is contained in:
parent
e0798466a8
commit
6550dd0f3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue