diff options
author | Sam Hartman <hartmans@mit.edu> | 2008-12-01 16:44:59 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 2008-12-01 16:44:59 +0000 |
commit | 4af46b5577611e312ee70644d4a235dbd5b8c57f (patch) | |
tree | a2a6e9c03a265e5211192ea64485257f6271710f | |
parent | dd348cdb3796df517c68e73c6842ac582e263a85 (diff) | |
download | krb5-4af46b5577611e312ee70644d4a235dbd5b8c57f.zip krb5-4af46b5577611e312ee70644d4a235dbd5b8c57f.tar.gz krb5-4af46b5577611e312ee70644d4a235dbd5b8c57f.tar.bz2 |
type in krb5_c_crypto_length is the crypto type not the enctype
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21255 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/crypto/crypto_length.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/crypto_length.c b/src/lib/crypto/crypto_length.c index ab6e6e1..4a64b90 100644 --- a/src/lib/crypto/crypto_length.c +++ b/src/lib/crypto/crypto_length.c @@ -162,7 +162,7 @@ krb5_c_crypto_length_iov(krb5_context context, case KRB5_CRYPTO_TYPE_HEADER: case KRB5_CRYPTO_TYPE_TRAILER: case KRB5_CRYPTO_TYPE_CHECKSUM: - ret = ktp->aead->crypto_length(ktp->aead, ktp->enc, ktp->hash, enctype, &iov->data.length); + ret = ktp->aead->crypto_length(ktp->aead, ktp->enc, ktp->hash, iov->flags, &iov->data.length); break; case KRB5_CRYPTO_TYPE_EMPTY: case KRB5_CRYPTO_TYPE_SIGN_ONLY: |