output keyblock in case we got a match on a similar enctype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13856
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-10-22 Tom Yu <tlyu@mit.edu>
+
+ * svr_principal.c (kadm5_decrypt_key): For now, coerce enctype of
+ output keyblock in case we got a match on a similar enctype.
+
2001-10-16 Mitchell Berger <mitchb@mit.edu>
Matt Crawford <crawdad@fnal.gov>
keyblock, keysalt)))
return ret;
+ /*
+ * Coerce the enctype of the output keyblock in case we got an
+ * inexact match on the enctype; this behavior will go away when
+ * the key storage architecture gets redesigned for 1.3.
+ */
+ keyblock->enctype = ktype;
+
if (kvnop)
*kvnop = key_data->key_data_kvno;