XAUTH interoperability with Cisco

This commit is contained in:
Andreas Steffen
2007-01-29 07:43:34 +00:00
parent f527c5a288
commit ef05d8465b
3 changed files with 14 additions and 7 deletions
+10 -1
View File
@@ -443,7 +443,7 @@ static const struct state_microcode state_microcode_table[] = {
, EVENT_RETRANSMIT, xauth_inI0 },
{ STATE_XAUTH_R1, STATE_XAUTH_R2
, SMF_ALL_AUTH | SMF_ENCRYPTED | SMF_REPLY
, SMF_ALL_AUTH | SMF_ENCRYPTED
, P(ATTR) | P(HASH), P(VID), PT(HASH)
, EVENT_RETRANSMIT, xauth_inR1 },
@@ -1552,6 +1552,15 @@ process_packet(struct msg_digest **mdp)
set_cur_state(st);
/* the XAUTH_STATUS message might have a new msgid */
if (st->st_state == STATE_XAUTH_I1)
{
init_phase2_iv(st, &md->hdr.isa_msgid);
new_iv_set = TRUE;
from_state = st->st_state;
break;
}
if (!IS_ISAKMP_SA_ESTABLISHED(st->st_state))
{
loglog(RC_LOG_SERIOUS, "ModeCfg message is unacceptable because"