Zero sha->buffer

msan reported it as an uninitialized buffer
This commit is contained in:
Juliusz Sosinowicz
2025-07-30 14:16:52 +02:00
parent decea12e22
commit 42e2dd9990

View File

@@ -403,6 +403,7 @@
sha->digest[4] = 0xC3D2E1F0L;
sha->buffLen = 0;
XMEMSET(sha->buffer, 0, sizeof(sha->buffer));
sha->loLen = 0;
sha->hiLen = 0;
#ifdef WOLFSSL_HASH_FLAGS