key/salt list. (Typo; added missing '!')
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6790
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Sep 15 01:33:40 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * main.c (init_realm): Stop after finding the first TGS key which
+ matches an entry in the key/salt list. (Typo; added
+ missing '!')
+
Sun Sep 10 10:51:29 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* main.c (init_realm): When checking for master key in valid
*/
kdata = (krb5_key_data *) NULL;
for (i=0; i<nkslist; i++) {
- if ((kret = krb5_dbe_find_enctype(rdp->realm_context,
- &db_entry,
- kslist[i].ks_enctype,
- -1,
- -1,
- &kdata)))
+ if (!(kret = krb5_dbe_find_enctype(rdp->realm_context,
+ &db_entry,
+ kslist[i].ks_enctype,
+ -1,
+ -1,
+ &kdata)))
break;
}
if (!kdata) {