projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5e3fe
)
If the type qualifier is missing, use the default type
author
Theodore Tso
<tytso@mit.edu>
Thu, 2 Jun 1994 16:38:12 +0000
(16:38 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 2 Jun 1994 16:38:12 +0000
(16:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3667
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/ccbase.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/ccbase.c
b/src/lib/krb5/ccache/ccbase.c
index 96c16fee4b900c1192244a00f530876a728cd7bb..264253b788c9f5d233bda7468c97cd2982862f42 100644
(file)
--- a/
src/lib/krb5/ccache/ccbase.c
+++ b/
src/lib/krb5/ccache/ccbase.c
@@
-89,8
+89,12
@@
krb5_error_code krb5_cc_resolve (name, cache)
int pfxlen;
cp = strchr (name, ':');
- if (!cp)
- return KRB5_CC_BADNAME;
+ if (!cp) {
+ if (krb5_cc_dfl_ops)
+ return (*krb5_cc_dfl_ops->resolve)(cache, name);
+ else
+ return KRB5_CC_BADNAME;
+ }
pfxlen = cp - name;
resid = name + pfxlen + 1;