* Makefile.in (shared): Always mkdir shared; test -d shared ||
mkdir shared breaks under Ultrix sh (grrr...).
+Thu Aug 8 18:29:15 1996 Sam Hartman <hartmans@mit.edu>
+
+ * keytab.c (krb5_ktkdb_get_entry): Return KRB5_KT_NOTFOUND if the
+ principal doesn't exist instead of dereferencing a null pointer.
+
Fri Aug 2 14:08:03 1996 Sam Hartman <hartmans@mit.edu>
- * configure.in(LIBS): AIX wants to link against -ldb when building the shared lib.
+ * configure.in(LIBS): AIX wants to link against -ldb when building
+ the shared lib.
Mon Jul 29 23:07:14 1996 Samuel D Hartman (hartmans@vorlon)
return(kerror);
}
+ if (n != 1)
+ {
+ krb5_dbm_db_close_database(context);
+ return KRB5_KT_NOTFOUND;
+ }
/* match key */
krb5_dbm_db_get_mkey(context, id->ops, &master_key);
krb5_dbe_find_enctype(context, &db_entry, enctype, -1, kvno, &key_data);