mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Fix to ensure hash devCtx is cleared.
This commit is contained in:
@ -543,6 +543,7 @@ static int InitSha256(wc_Sha256* sha256)
|
||||
sha256->heap = heap;
|
||||
#ifdef WOLF_CRYPTO_CB
|
||||
sha256->devId = devId;
|
||||
sha256->devCtx = NULL;
|
||||
#endif
|
||||
|
||||
ret = InitSha256(sha256);
|
||||
|
Reference in New Issue
Block a user