projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ccdb06
)
In krb5_cc_set_config, don't call krb5_cc_remove_cred; it's redundant
author
Greg Hudson
<ghudson@mit.edu>
Fri, 28 May 2010 18:26:43 +0000
(18:26 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 28 May 2010 18:26:43 +0000
(18:26 +0000)
with the krb5_cc_remove_cred call in krb5_cc_store_cred.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24110
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/ccfns.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/ccfns.c
b/src/lib/krb5/ccache/ccfns.c
index f08bfb98d6ecf95217bfabbbb1108f71fe9cb66f..088fdf6e36ff92e1a7065e276f3e04b0b68dd7ef 100644
(file)
--- a/
src/lib/krb5/ccache/ccfns.c
+++ b/
src/lib/krb5/ccache/ccfns.c
@@
-286,10
+286,6
@@
krb5_cc_set_config (krb5_context context, krb5_ccache id,
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");