krb5 commit: Report output ccache errors getting initial creds

Greg Hudson ghudson at mit.edu
Wed Oct 22 12:05:47 EDT 2014


https://github.com/krb5/krb5/commit/feeddfb78ca5de066a509b6be8551d036e0f2c8a
commit feeddfb78ca5de066a509b6be8551d036e0f2c8a
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.
    
    ticket: 8028 (new)
    target_version: 1.13.1
    tags: pullup

 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