From adbc00ed2aa84d49591a5043b54f9e759da6b1b8 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Thu, 10 Dec 2020 20:44:50 -0800 Subject: [PATCH] Litecoin: Scrypt --- src/crypto/scrypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/scrypt.cpp b/src/crypto/scrypt.cpp index be5cec206e..de9f6e4c0e 100644 --- a/src/crypto/scrypt.cpp +++ b/src/crypto/scrypt.cpp @@ -141,8 +141,8 @@ PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, HMAC_SHA256_CTX PShctx, hctx; size_t i; uint8_t ivec[4]; - uint8_t U[32]; - uint8_t T[32]; + uint8_t U[32] = {}; + uint8_t T[32] = {}; uint64_t j; int k; size_t clen;