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

Tom Yu tlyu at mit.edu
Mon Feb 9 22:27:36 EST 2015


https://github.com/krb5/krb5/commit/6bb20d1b14fb38e41cabeb013b759457a5d0ec9a
commit 6bb20d1b14fb38e41cabeb013b759457a5d0ec9a
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: 8132 (new)
    version_fixed: 1.12.3
    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 ba03d3c..96c5c3a 100644
--- a/src/lib/krb5/krb/get_in_tkt.c
+++ b/src/lib/krb5/krb/get_in_tkt.c
@@ -1652,7 +1652,6 @@ init_creds_step_reply(krb5_context context,
     k5_preauth_request_context_fini(context);
 
     /* success */
-    code = 0;
     ctx->complete = TRUE;
 
 cleanup:


More information about the cvs-krb5 mailing list