2
0
mirror of https://github.com/curl/curl.git synced 2025-03-31 16:00:35 +08:00

digest: clear target buffer

Closes 
This commit is contained in:
Daniel Stenberg 2023-03-22 13:10:45 +01:00
parent 0c943964e1
commit 955e2769f7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

@ -694,6 +694,7 @@ static CURLcode auth_create_digest_http_message(
char *hashthis = NULL;
char *tmp = NULL;
memset(hashbuf, 0, sizeof(hashbuf));
if(!digest->nc)
digest->nc = 1;