diff options
author | lns <matzeton@googlemail.com> | 2022-07-15 13:26:05 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2022-07-15 13:26:05 +0200 |
commit | ff0cf8879f885b1b853aca14867f0ef7d20dea41 (patch) | |
tree | 8d5481fa1ca5c7eff74c931e1c9a99b66cbc95f9 | |
parent | b80218a0e45f9c18a0492c4e6679ba8ebc5ca22c (diff) |
Fix unitialized use of W[16].fix/unitialized-use-of-W
Signed-off-by: lns <matzeton@googlemail.com>
-rw-r--r-- | src/lib/third_party/src/gcrypt/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/third_party/src/gcrypt/digest.c b/src/lib/third_party/src/gcrypt/digest.c index 3cdd1f1f8..e68d905cf 100644 --- a/src/lib/third_party/src/gcrypt/digest.c +++ b/src/lib/third_party/src/gcrypt/digest.c @@ -130,7 +130,7 @@ sha256_init(sha256_t *p) static void sha256_transform(uint32_t *state, const uint32_t *data) { - uint32_t W[16]; + uint32_t W[16] = {}; unsigned j; #ifdef _SHA256_UNROLL2 uint32_t a,b,c,d,e,f,g,h; |