KRB5_CC_NOTFOUND is ok from krb5_cc_remove_cred().

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23876 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-10-08 16:14:53 +00:00
parent c4ed8e9588
commit 90157be65a

View File

@@ -1211,8 +1211,8 @@ krb5_cc_set_config(krb5_context context, krb5_ccache id,
/* Remove old configuration */
ret = krb5_cc_remove_cred(context, id, 0, &cred);
if (ret)
goto out;
if (ret != KRB5_CC_NOTFOUND)
goto out;
/* not that anyone care when this expire */
cred.times.authtime = time(NULL);