From 94bc2d740986d8c65d427cfc67dac5558f5292dc Mon Sep 17 00:00:00 2001 From: kevlo Date: Sun, 22 Oct 2006 02:19:33 +0000 Subject: Initialize T1 to silent gcc warning. Approved by: cognet --- sys/crypto/sha2/sha2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/crypto') diff --git a/sys/crypto/sha2/sha2.c b/sys/crypto/sha2/sha2.c index 825ed41..ed33b66 100644 --- a/sys/crypto/sha2/sha2.c +++ b/sys/crypto/sha2/sha2.c @@ -750,7 +750,7 @@ void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; - sha2_word64 T1, T2 = 0, *W512 = (sha2_word64*)context->buffer; + sha2_word64 T1 = 0, T2 = 0, *W512 = (sha2_word64*)context->buffer; int j; /* Initialize registers with the prev. intermediate value */ -- cgit v1.1