summaryrefslogtreecommitdiff
path: root/cast.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-01 20:37:23 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-01 20:37:23 -0400
commitd2ad6751d5c8c8f682aad3a0a4deeb8134c07a8f (patch)
tree528d059ac915c371c5ea9a5ef676c9b4bfd52ae6 /cast.cpp
parent602fa05825f9fa9ec892275c2e95565354047918 (diff)
downloadcryptopp-git-d2ad6751d5c8c8f682aad3a0a4deeb8134c07a8f.tar.gz
Clear uninitialized variable warnings under xlC
Diffstat (limited to 'cast.cpp')
-rw-r--r--cast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cast.cpp b/cast.cpp
index 010fef04..352fcdf8 100644
--- a/cast.cpp
+++ b/cast.cpp
@@ -100,7 +100,7 @@ void CAST128::Base::UncheckedSetKey(const byte *userKey, unsigned int keylength,
reduced = (keylength <= 10);
- word32 X[4], Z[4];
+ word32 X[4], Z[4]={0};
GetUserKey(BIG_ENDIAN_ORDER, X, 4, userKey, keylength);
#define x(i) GETBYTE(X[i/4], 3-i%4)