svn rev #24110: trunk/src/lib/krb5/ccache/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri May 28 14:26:43 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24110
Commit By: ghudson
Log Message:
In krb5_cc_set_config, don't call krb5_cc_remove_cred; it's redundant
with the krb5_cc_remove_cred call in krb5_cc_store_cred.
Changed Files:
U trunk/src/lib/krb5/ccache/ccfns.c
Modified: trunk/src/lib/krb5/ccache/ccfns.c
===================================================================
--- trunk/src/lib/krb5/ccache/ccfns.c 2010-05-28 15:56:05 UTC (rev 24109)
+++ trunk/src/lib/krb5/ccache/ccfns.c 2010-05-28 18:26:43 UTC (rev 24110)
@@ -286,10 +286,6 @@
if (ret)
goto out;
- ret = krb5_cc_remove_cred(context, id, 0, &cred);
- if (ret && ret != KRB5_CC_NOTFOUND && ret != KRB5_CC_NOSUPP)
- goto out;
-
cred.ticket.data = malloc(data->length);
if (cred.ticket.data == NULL) {
krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
More information about the cvs-krb5
mailing list