(no error) is returned instead of KTF_NOT_FOUND.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4583
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Oct 26 14:41:31 1994 (tytso@rsx-11)
+
+ * ktf_get_en.c (krb5_ktfile_get_entry): If the requested kvno is
+ IGNORE_KVNO, fix the error return so that 0 (no error) is
+ returned instead of KTF_NOT_FOUND.
+
Thu Oct 13 17:26:12 1994 Theodore Y. Ts'o (tytso@maytag)
* configure.in: Add ISODE_DEFS
krb5_kt_free_entry(&new_entry);
}
}
+ if (kerror == KRB5_KT_END)
+ kerror = cur_entry.principal ? 0 : KRB5_KT_NOTFOUND;
if (kerror) {
- if (kerror == KRB5_KT_END)
- kerror = KRB5_KT_NOTFOUND;
(void) krb5_ktfileint_close(id);
krb5_kt_free_entry(&cur_entry);
return kerror;