summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1995-06-13 00:08:35 +0000
committerEzra Peisach <epeisach@mit.edu>1995-06-13 00:08:35 +0000
commit670b260aac64048286e82850e312de962d4890bb (patch)
treed0f7924eb1281c344f73d8c28198cd07bbbb6dd6 /src
parent8769dc787edd9043fc3058efa9e302af89c41319 (diff)
downloadkrb5-670b260aac64048286e82850e312de962d4890bb.tar.gz
krb5-670b260aac64048286e82850e312de962d4890bb.tar.xz
krb5-670b260aac64048286e82850e312de962d4890bb.zip
(kdc_process_tgs_req): Set the auth_context rcache to null before
freeing auth_context. This keeps the rcache valid (to be close elsewhere) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6044 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/kdc/ChangeLog6
-rw-r--r--src/kdc/kdc_util.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog
index c3af5a655..cfe9ef4fe 100644
--- a/src/kdc/ChangeLog
+++ b/src/kdc/ChangeLog
@@ -1,3 +1,9 @@
+Mon Jun 12 20:01:23 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * kdc_util.c (kdc_process_tgs_req): Set the auth_context rcache to
+ null before freeing auth_context. This keeps the rcache
+ valid.
+
Sat Jun 10 23:04:31 1995 Tom Yu (tlyu@dragons-lair)
* kdc_util.c: krb5_auth_context redefinitions
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c
index f96282b82..abd7ea8b0 100644
--- a/src/kdc/kdc_util.c
+++ b/src/kdc/kdc_util.c
@@ -293,6 +293,8 @@ cleanup_authenticator:
krb5_free_authenticator(kdc_context, authenticator);
cleanup_auth_context:
+ /* We do not want the fre of the auth_context to close the rcache */
+ (void) krb5_auth_con_setrcache(kdc_context, auth_context, 0);
krb5_auth_con_free(kdc_context, auth_context);
cleanup: