summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/opencrypto/cast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/opencrypto/cast.c b/sys/opencrypto/cast.c
index a16ab7d..7474b36 100644
--- a/sys/opencrypto/cast.c
+++ b/sys/opencrypto/cast.c
@@ -131,7 +131,7 @@ u_int32_t t, l, r;
void cast_setkey(cast_key* key, u_int8_t* rawkey, int keybytes)
{
-u_int32_t t[4], z[4], x[4];
+u_int32_t t[4] = {0, 0, 0, 0}, z[4] = {0, 0, 0, 0}, x[4];
int i;
/* Set number of rounds to 12 or 16, depending on key length */
OpenPOWER on IntegriCloud