From: Jeffrey Altman Date: Fri, 30 Jun 2006 09:20:59 +0000 (+0000) Subject: stdcc.c: undo change which broke the opening of ccaches X-Git-Tag: krb5-1.6-alpha1~228 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f760863dbaf96880b9924efc9b0d72582d306983;p=krb5.git stdcc.c: undo change which broke the opening of ccaches ticket: 3961 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18287 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index ff3e9a836..4414abfbc 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -878,10 +878,9 @@ krb5_error_code KRB5_CALLCONV krb5_stdcc_resolve err = cc_open(gCntrlBlock, cName, CC_CRED_V5, 0L, &ccapi_data->NamedCache); - if (err != CC_NOERROR) { + if (err != CC_NOERROR) ccapi_data->NamedCache = NULL; - goto errout; - } + /* return new cache structure */ *id = newCache;