]> 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>
Thu, 27 Sep 2012 21:18:18 +0000 (17:18 -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.

ticket: 7388 (new)
target_version: 1.10.4
tags: pullup

src/kdc/dispatch.c

index adbb0c3bfea2d6dd9debf31010a13fed05d4824f..e3f43bc248c39322e72e3b27e4865304ec0ceaff 100644 (file)
@@ -178,7 +178,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