If the prefix "FILE:" is not given, assume the default operations list
authorTheodore Tso <tytso@mit.edu>
Fri, 30 Sep 1994 03:20:44 +0000 (03:20 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 30 Sep 1994 03:20:44 +0000 (03:20 +0000)
(whcih is krb5_kt_dfl_ops).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4402 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/ChangeLog [new file with mode: 0644]
src/lib/krb5/keytab/ktbase.c

diff --git a/src/lib/krb5/keytab/ChangeLog b/src/lib/krb5/keytab/ChangeLog
new file mode 100644 (file)
index 0000000..f12e822
--- /dev/null
@@ -0,0 +1,7 @@
+Thu Sep 29 23:19:06 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * ktbase.c (krb5_kt_resolve_name): If the prefix "FILE:" is not
+               given, assume the default operations list (whcih is
+               krb5_kt_dfl_ops).
+
+
index 774aac642558871936a399f41892eb1d93439f8d..accca32541e9f0a1cefc81c04afc05b8c429ce4e 100644 (file)
@@ -78,8 +78,9 @@ krb5_error_code krb5_kt_resolve (name, ktid)
     int pfxlen;
     
     cp = strchr (name, ':');
-    if (!cp)
-       return KRB5_KT_BADNAME;
+    if (!cp) {
+           return (krb5_kt_dfl_ops.resolve)(name, ktid);
+    }
 
     pfxlen = cp - (char *)name;
     resid = (char *)name + pfxlen + 1;