summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2006-08-26 21:48:00 +0000
committerkan <kan@FreeBSD.org>2006-08-26 21:48:00 +0000
commit6ef43dbb8fddb3243e4e4df69a1d742bddf922d5 (patch)
tree4570e9acb2024bc947e47ad164471bfb8cdf3d00 /sys
parentd2e7ac2a73d6bcff5e0c32bced4f407ce06175a0 (diff)
downloadFreeBSD-src-6ef43dbb8fddb3243e4e4df69a1d742bddf922d5.zip
FreeBSD-src-6ef43dbb8fddb3243e4e4df69a1d742bddf922d5.tar.gz
GCC 3.4.6 gets confused on this file and produces bogus warning.
Shut it up.
Diffstat (limited to 'sys')
-rw-r--r--sys/crypto/sha2/sha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/sha2/sha2.c b/sys/crypto/sha2/sha2.c
index 98e497e..825ed41 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, *W512 = (sha2_word64*)context->buffer;
+ sha2_word64 T1, T2 = 0, *W512 = (sha2_word64*)context->buffer;
int j;
/* Initialize registers with the prev. intermediate value */
OpenPOWER on IntegriCloud