ikev2: close an established IKE_SA when receiving AUTHENTICATION_FAILED
authorMartin Willi <martin@revosec.ch>
Fri, 17 May 2013 08:30:13 +0000 (10:30 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 11 Jun 2013 13:54:26 +0000 (15:54 +0200)
commitca74bf7a06d0ecc87f7e0d5704714b487fed0abd
tree707ff892e88df275d76ba1bc7edf87c4526a0a58
parenteaafcec190ff05fb59ca3e91ed9e4d01aa532b41
ikev2: close an established IKE_SA when receiving AUTHENTICATION_FAILED

RFC 5996 compatible implementations MAY send an INFORMATIONAL message
with an AUTHENTICATION_FAILED if the initiator failed to authenticate us.
Handle such a message like a DELETE for an IKE_SA.
src/libcharon/sa/ikev2/task_manager_v2.c