]> 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>
Sat, 14 Feb 2015 21:01:54 +0000 (16:01 -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: 8145 (new)
version_fixed: 1.11.6
status: resolved

src/lib/krb5/krb/get_in_tkt.c

index f0f4ac8dbbc22e887625930751f9375a8ff2246d..9096d47fe16fd0ea9a99003f649bc8adb5e72914 100644 (file)
@@ -1691,7 +1691,6 @@ init_creds_step_reply(krb5_context context,
     krb5_preauth_request_context_fini(context);
 
     /* success */
-    code = 0;
     ctx->complete = TRUE;
 
 cleanup: