summaryrefslogtreecommitdiffstats
path: root/providers/implementations/ciphers/cipher_des_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/ciphers/cipher_des_hw.c')
-rw-r--r--providers/implementations/ciphers/cipher_des_hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_des_hw.c b/providers/implementations/ciphers/cipher_des_hw.c
index a77fcc681a..a2d54b46ba 100644
--- a/providers/implementations/ciphers/cipher_des_hw.c
+++ b/providers/implementations/ciphers/cipher_des_hw.c
@@ -136,7 +136,8 @@ static int cipher_hw_des_cfb1_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out,
{
size_t n, chunk = MAXCHUNK / 8;
DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks);
- unsigned char c[1], d[1];
+ unsigned char c[1];
+ unsigned char d[1] = { 0 };
if (inl < chunk)
chunk = inl;