entry has the correct key version number.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6276
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 28 12:05:34 1995 <tytso@rsx-11.mit.edu>
+
+ * ktf_g_ent.c (krb5_ktfile_get_entry): If the key version number
+ is specified, check to make sure that the entry has the
+ correct key version number.
+
Fri Jun 9 19:34:23 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
cur_entry = new_entry;
}
} else {
- cur_entry = new_entry;
- break;
+ if (new_entry.vno == kvno) {
+ cur_entry = new_entry;
+ break;
+ }
}
} else {
krb5_kt_free_entry(context, &new_entry);