(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
This commit is contained in:
@@ -343,17 +343,16 @@ krb5_verify_ap_req2(krb5_context context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ac->authenticator->seq_number)
|
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 - Xor sequence numbers */
|
||||||
|
|
||||||
/* XXX - subkeys? */
|
|
||||||
/* And where should it be stored? */
|
|
||||||
|
|
||||||
if (ac->authenticator->subkey) {
|
if (ac->authenticator->subkey) {
|
||||||
krb5_copy_keyblock(context,
|
ret = krb5_auth_con_setremotesubkey(context, ac,
|
||||||
ac->authenticator->subkey,
|
ac->authenticator->subkey);
|
||||||
&ac->remote_subkey);
|
if (ret)
|
||||||
|
goto out2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ap_req_options) {
|
if (ap_req_options) {
|
||||||
|
Reference in New Issue
Block a user