]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Cache TGS-REPs too
authorTom Yu <tlyu@mit.edu>
Thu, 27 Sep 2012 21:18:18 +0000 (17:18 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 31 Oct 2012 15:49:36 +0000 (11:49 -0400)
Changes in r25660 inadvertently failed to insert TGS-REPs into the
lookaside cache.  Call finish_dispatch_cache() at the end of
dispatch() to handle this case.

(cherry picked from commit 22206a061dfe55db5cbe2c70190b3bd923d9e615)

ticket: 7388
version_fixed: 1.10.4
status: resolved

src/kdc/dispatch.c

index efb54ed649af7a879e138480a943969d64937d2e..920e0b95db224332c2cbc7be2910d893fa00fcd0 100644 (file)
@@ -181,7 +181,7 @@ dispatch(void *cb, struct sockaddr *local_saddr,
     } else
         retval = KRB5KRB_AP_ERR_MSG_TYPE;
 
-    finish_dispatch(state, retval, response);
+    finish_dispatch_cache(state, retval, response);
 }
 
 static krb5_error_code