]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Report output ccache errors getting initial creds
authorGreg Hudson <ghudson@mit.edu>
Mon, 20 Oct 2014 16:52:45 +0000 (12:52 -0400)
committerTom Yu <tlyu@mit.edu>
Tue, 16 Dec 2014 17:40:11 +0000 (12:40 -0500)
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

index 5a2b8d8b225333126b32005afc87f66b7c53181b..2979287446d03d93dab86e143e8f6a34d22895a5 100644 (file)
@@ -1647,7 +1647,6 @@ init_creds_step_reply(krb5_context context,
     k5_preauth_request_context_fini(context);
 
     /* success */
-    code = 0;
     ctx->complete = TRUE;
 
 cleanup: