projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8927d0
)
In the des enc_provider decrypt_iov function, count header blocks as
author
Greg Hudson
<ghudson@mit.edu>
Mon, 30 Nov 2009 16:13:50 +0000
(16:13 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Mon, 30 Nov 2009 16:13:50 +0000
(16:13 +0000)
well as data and padding blocks when checking for correctly padded
input.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23387
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/builtin/enc_provider/des.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/builtin/enc_provider/des.c
b/src/lib/crypto/builtin/enc_provider/des.c
index 6a1ca8db50d28f03f7b19f7aeb9a04c6cf6b4bd3..e268a20f8de953645cb2d42d22499ffd0b6100c3 100644
(file)
--- a/
src/lib/crypto/builtin/enc_provider/des.c
+++ b/
src/lib/crypto/builtin/enc_provider/des.c
@@
-101,7
+101,7
@@
k5_des_docrypt_iov(krb5_key key, const krb5_data *ivec,
for (i = 0; i < num_data; i++) {
const krb5_crypto_iov *iov = &data[i];
- if (ENCRYPT_
DATA_
IOV(iov))
+ if (ENCRYPT_IOV(iov))
input_length += iov->data.length;
}