aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2014-10-20 12:52:45 -0400
committerTom Yu <tlyu@mit.edu>2015-02-14 16:01:54 -0500
commitf9628f84c76869a2e89ed98a24f1d0cab58a485e (patch)
tree3e2967c02019d63162b6f618c858470b266f7447
parenta5d9bdf921e0bc855e4f0b21403e543e18e2b1cf (diff)
downloadkrb5-f9628f84c76869a2e89ed98a24f1d0cab58a485e.zip
krb5-f9628f84c76869a2e89ed98a24f1d0cab58a485e.tar.gz
krb5-f9628f84c76869a2e89ed98a24f1d0cab58a485e.tar.bz2
Report output ccache errors getting initial creds
In init_creds_step_reply, if we get an error storing output credentials, do set ctx->complete (since retrieving creds or times will work at this point) but don't suppress the error code. (cherry picked from commit feeddfb78ca5de066a509b6be8551d036e0f2c8a) ticket: 8145 (new) version_fixed: 1.11.6 status: resolved
-rw-r--r--src/lib/krb5/krb/get_in_tkt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c
index f0f4ac8..9096d47 100644
--- a/src/lib/krb5/krb/get_in_tkt.c
+++ b/src/lib/krb5/krb/get_in_tkt.c
@@ -1691,7 +1691,6 @@ init_creds_step_reply(krb5_context context,
krb5_preauth_request_context_fini(context);
/* success */
- code = 0;
ctx->complete = TRUE;
cleanup: