svn rev #22866: trunk/src/lib/crypto/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed Oct 7 14:14:50 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22866
Commit By: ghudson
Log Message:
In krb5_c_make_checksum, avoid the structure copy of *input since we
don't care about input->magic. Squashes a bunch of unimportant
Coverity defects.
Changed Files:
U trunk/src/lib/crypto/krb/make_checksum.c
Modified: trunk/src/lib/crypto/krb/make_checksum.c
===================================================================
--- trunk/src/lib/crypto/krb/make_checksum.c 2009-10-07 18:13:29 UTC (rev 22865)
+++ trunk/src/lib/crypto/krb/make_checksum.c 2009-10-07 18:14:49 UTC (rev 22866)
@@ -80,7 +80,8 @@
krb5_crypto_iov iov[1];
iov[0].flags = KRB5_CRYPTO_TYPE_DATA;
- iov[0].data = *input;
+ iov[0].data.data = input->data;
+ iov[0].data.length = input->length;
assert(keyhash->hash_iov != NULL);
More information about the cvs-krb5
mailing list