Skip to content

Commit

Permalink
set header to 0 if present
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoward committed Dec 17, 2015
1 parent e669034 commit 213c5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krb5/crypto-aead.c
Expand Up @@ -67,7 +67,7 @@ _krb5_evp_cipher_aead(krb5_context context,
if (hiv->data.length != headersz)
return KRB5_BAD_MSIZE;
if (encryptp && headersz)
krb5_generate_random_block(hiv->data.data, hiv->data.length);
memset(hiv->data.data, 0, hiv->data.length);
}

/* padding */
Expand Down

0 comments on commit 213c5e8

Please sign in to comment.