Skip to content

Commit

Permalink
use aead_crypto test
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoward committed Dec 17, 2015
1 parent b4e7841 commit 8e32ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krb5/crypto.c
Expand Up @@ -2115,7 +2115,7 @@ krb5_crypto_length(krb5_context context,
*len = 0;
return 0;
case KRB5_CRYPTO_TYPE_TRAILER:
if (crypto->et->flags & F_AEAD)
if (aead_crypto(context, crypto))
*len = crypto->et->blocksize;
else
*len = CHECKSUMSIZE(crypto->et->keyed_checksum);
Expand Down

0 comments on commit 8e32ee6

Please sign in to comment.