From 67934559eaf9850438f51a3ca7f8bae7acbac7ec Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 18 Jun 2001 02:48:18 +0000 Subject: [PATCH] (krb5_rd_req): use krb5_auth_con* functions and remove some comments git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10095 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/rd_req.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/krb5/rd_req.c b/lib/krb5/rd_req.c index d52bb1799..2184e25cd 100644 --- a/lib/krb5/rd_req.c +++ b/lib/krb5/rd_req.c @@ -343,17 +343,16 @@ krb5_verify_ap_req2(krb5_context context, } if (ac->authenticator->seq_number) - ac->remote_seqnumber = *ac->authenticator->seq_number; + krb5_auth_con_setremoteseqnumber(context, ac, + *ac->authenticator->seq_number); /* XXX - Xor sequence numbers */ - /* XXX - subkeys? */ - /* And where should it be stored? */ - if (ac->authenticator->subkey) { - krb5_copy_keyblock(context, - ac->authenticator->subkey, - &ac->remote_subkey); + ret = krb5_auth_con_setremotesubkey(context, ac, + ac->authenticator->subkey); + if (ret) + goto out2; } if (ap_req_options) {