]> 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, 10 Feb 2015 03:13:50 +0000 (22:13 -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: 8132 (new)
version_fixed: 1.12.3
status: resolved

src/lib/krb5/krb/get_in_tkt.c

index ba03d3c6821649e667d2e4f05f689096ab6afdc0..96c5c3ab4360436ffc1edb7228d574161c772f12 100644 (file)
@@ -1652,7 +1652,6 @@ init_creds_step_reply(krb5_context context,
     k5_preauth_request_context_fini(context);
 
     /* success */
-    code = 0;
     ctx->complete = TRUE;
 
 cleanup: