krb5 commit [krb5-1.11]: Report output ccache errors getting initial creds

Tom Yu tlyu at mit.edu
Sat Feb 14 16:19:11 EST 2015


https://github.com/krb5/krb5/commit/f9628f84c76869a2e89ed98a24f1d0cab58a485e
commit f9628f84c76869a2e89ed98a24f1d0cab58a485e
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Oct 20 12:52:45 2014 -0400

    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

 src/lib/krb5/krb/get_in_tkt.c |    1 -
 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:


More information about the cvs-krb5 mailing list