projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1da485
)
In krb5_c_verify_checksum, avoid the structure copy of *data since we
author
Greg Hudson
<ghudson@mit.edu>
Thu, 8 Oct 2009 12:59:33 +0000
(12:59 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Thu, 8 Oct 2009 12:59:33 +0000
(12:59 +0000)
don't care about data->magic. Squashes a bunch of unimportant
Coverity defects. (May not be the correct long-term solution.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22868
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/krb/verify_checksum.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/krb/verify_checksum.c
b/src/lib/crypto/krb/verify_checksum.c
index ae15cc872a1283917fe9c2d42633561f1dc33e38..4466c7dadfabd17f13b5aa91f47a6d8e8e9c7a00 100644
(file)
--- a/
src/lib/crypto/krb/verify_checksum.c
+++ b/
src/lib/crypto/krb/verify_checksum.c
@@
-59,7
+59,8
@@
krb5_c_verify_checksum(krb5_context context, const krb5_keyblock *key,
krb5_crypto_iov iov[1];
iov[0].flags = KRB5_CRYPTO_TYPE_DATA;
- iov[0].data = *data;
+ iov[0].data.data = data->data;
+ iov[0].data.length = data->length;
return (*keyhash->verify_iov)(key, usage, 0, iov, 1, &indata,
valid);