From 77833b415195f0a539a3ba6d252c5be596b4d21c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 14 Jul 1997 12:21:52 +0000 Subject: [PATCH] (krb5_verify_ap_req): record authenticator subkey git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2291 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/rd_req.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/krb5/rd_req.c b/lib/krb5/rd_req.c index 7dd1de18a..2bddabb38 100644 --- a/lib/krb5/rd_req.c +++ b/lib/krb5/rd_req.c @@ -160,7 +160,13 @@ krb5_verify_ap_req(krb5_context context, /* XXX - Xor sequence numbers */ /* XXX - subkeys? */ - + /* And where should it be stored? */ + + if (ac->authenticator->subkey) { + copy_EncryptionKey (ac->authenticator->subkey, + &ac->remote_subkey); + } + if (ap_req_options) { *ap_req_options = 0; if (ap_req->ap_options.use_session_key)