diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-06-13 00:08:35 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-06-13 00:08:35 +0000 |
commit | 670b260aac64048286e82850e312de962d4890bb (patch) | |
tree | d0f7924eb1281c344f73d8c28198cd07bbbb6dd6 /src/kdc/kdc_util.c | |
parent | 8769dc787edd9043fc3058efa9e302af89c41319 (diff) | |
download | krb5-670b260aac64048286e82850e312de962d4890bb.zip krb5-670b260aac64048286e82850e312de962d4890bb.tar.gz krb5-670b260aac64048286e82850e312de962d4890bb.tar.bz2 |
(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/kdc/kdc_util.c')
-rw-r--r-- | src/kdc/kdc_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index f96282b..abd7ea8 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: |