* kdb_xdr.c (krb5_dbe_search_enctype): Filter out enctypes that
authorTom Yu <tlyu@mit.edu>
Thu, 25 Oct 2001 20:21:28 +0000 (20:21 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 25 Oct 2001 20:21:28 +0000 (20:21 +0000)
commitef9b79c0dd6bdc5d7b198dc1d681086d84b86b22
tree359a8135d6b288d5453137c439039c1c23d80a7a
parentd675c39d18b2403ba09756483c0fbcdcc6f67596
* kdb_xdr.c (krb5_dbe_search_enctype): Filter out enctypes that
aren't in permitted_enctypes.  This prevents the KDC from issuing
a ticket whose enctype that it won't accept.

* keytab.c (krb5_ktkdb_get_entry): For now, coerce enctype of
output keyblock in case we got a match on a similar enctype.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13855 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/kdb/ChangeLog
src/lib/kdb/kdb_xdr.c
src/lib/kdb/keytab.c