ikev2: Apply extensions and conditions before starting rekeying
authorMartin Willi <martin@revosec.ch>
Thu, 10 Apr 2014 08:24:34 +0000 (10:24 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 17 Apr 2014 07:24:51 +0000 (09:24 +0200)
commit094963d1b16024c56adc624cc97729ce424e2814
treea05545229fba5419807f8cd0c81a8f5790bb0f9b
parent713a1122b4f262536f72b9e0b2733383d1540658
ikev2: Apply extensions and conditions before starting rekeying

The extensions and conditions apply to the rekeyed IKE_SA as well, so we should
migrate them. Especially when using algorithms from private space, we need
EXT_STRONGSWAN to properly select these algorithms during IKE rekeying.
src/libcharon/sa/ike_sa.c