At least in cases other than tgts, this code handles its own enctype matching, so kvno not found is the only
thing that produces the no matching key error.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21718
dc483132-0cff-0310-8789-
dd5450dbe970
kerror = krb5_dbe_find_enctype(context, &db_entry,
xrealm_tgt?enctype:-1,
-1, kvno, &key_data);
+ if (kerror == KRB5_KDB_NO_MATCHING_KEY)
+ kerror = KRB5_KT_KVNONOTFOUND;
if (kerror)
goto error;