krb5: Fix API: ccache failure
This commit is contained in:

committed by
Jeffrey Altman

parent
5716b51c18
commit
68eba10cf1
@@ -557,6 +557,11 @@ acc_resolve_2(krb5_context context, krb5_ccache *id, const char *res, const char
|
||||
}
|
||||
|
||||
error = (*a->context->func->open_ccache)(a->context, res, &a->ccache);
|
||||
if (error == ccErrCCacheNotFound) {
|
||||
a->ccache = NULL;
|
||||
a->cache_name = NULL;
|
||||
return 0;
|
||||
}
|
||||
if (error == ccNoError)
|
||||
error = get_cc_name(a);
|
||||
if (error != ccNoError) {
|
||||
|
Reference in New Issue
Block a user