Really delete phase 1 on Xauth failure

This commit is contained in:
manu 2005-05-20 07:34:47 +00:00
parent d316ef3d77
commit bd592e6e99
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-05-20 Emmanuel Dreyfus <manu@netbsd.org>
From Mike Robinson <sundialservices@users.sourceforge.net>
* src/racoon/isakmp_xauth.c: really delete phase 1 on Xauth failure
* src/libipsec/pfkey.c src/racoon/ipsec_doi.c: Fix NAT-T + IPcomp
From hgates <hgates.lists@gmail.com>

View File

@ -1,4 +1,4 @@
/* $NetBSD: isakmp_xauth.c,v 1.1.1.4 2005/03/16 23:52:55 manu Exp $ */
/* $NetBSD: isakmp_xauth.c,v 1.2 2005/05/20 07:34:47 manu Exp $ */
/* Id: isakmp_xauth.c,v 1.17.2.3 2005/03/16 00:13:38 manubsd Exp */
@ -915,7 +915,7 @@ isakmp_xauth_set(iph1, attr)
EVT_PUSH(iph1->local, iph1->remote,
EVTT_XAUTH_FAILED, NULL);
iph1->mode_cfg->flags &= ISAKMP_CFG_DELETE_PH1;
iph1->mode_cfg->flags |= ISAKMP_CFG_DELETE_PH1;
} else {
EVT_PUSH(iph1->local,
iph1->remote, EVTT_XAUTH_SUCCESS, NULL);