svn rev #22867: trunk/src/lib/crypto/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Oct 8 08:58:56 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22867
Commit By: ghudson
Log Message:
In krb5_calculate_checksum (a compatibility routine), initialize
key.enctype to ENCTYPE_NULL. This will predictably fail to match a
keyed hash's enctype, which may not be the best behavior, but is
better than unpredictably failing to match it.
Changed Files:
U trunk/src/lib/crypto/krb/old_api_glue.c
Modified: trunk/src/lib/crypto/krb/old_api_glue.c
===================================================================
--- trunk/src/lib/crypto/krb/old_api_glue.c 2009-10-07 18:14:49 UTC (rev 22866)
+++ trunk/src/lib/crypto/krb/old_api_glue.c 2009-10-08 12:58:56 UTC (rev 22867)
@@ -215,6 +215,7 @@
input.data = in;
input.length = in_length;
+ key.enctype = ENCTYPE_NULL;
key.length = seed_length;
key.contents = seed;
More information about the cvs-krb5
mailing list