summaryrefslogtreecommitdiffstats
path: root/lib/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sha256.c')
-rw-r--r--lib/sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sha256.c b/lib/sha256.c
index ccf260fa7..08e08eb06 100644
--- a/lib/sha256.c
+++ b/lib/sha256.c
@@ -344,7 +344,7 @@ void HMAC__SHA256_Final(unsigned char digest[32], HMAC_SHA256_CTX *ctx)
void PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt,
size_t saltlen, uint64_t c, uint8_t *buf, size_t dkLen)
{
- HMAC_SHA256_CTX PShctx, hctx;
+ HMAC_SHA256_CTX PShctx = {}, hctx;
size_t i;
uint8_t ivec[4];
uint8_t U[32];