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

Tom Yu tlyu at mit.edu
Tue Dec 16 14:25:46 EST 2014


https://github.com/krb5/krb5/commit/e2ac4e1afcb987e3c8ddfbeb73680b6501914e30
commit e2ac4e1afcb987e3c8ddfbeb73680b6501914e30
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: 8028
    version_fixed: 1.13.1
    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 5a2b8d8..2979287 100644
--- a/src/lib/krb5/krb/get_in_tkt.c
+++ b/src/lib/krb5/krb/get_in_tkt.c
@@ -1647,7 +1647,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