child-sa: Save protocol during SPI allocation
authorMartin Willi <martin@revosec.ch>
Thu, 20 Jun 2013 14:13:35 +0000 (16:13 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 11 Oct 2013 08:15:21 +0000 (10:15 +0200)
commit21b096f3b8a013f58d3d9d1691aeb408854c4cb5
tree9cdd4a73e6bf06261cf5c4f1d989173eda01d544
parent908fe1632de31dd705132455199ed1cece073ce5
child-sa: Save protocol during SPI allocation

This allows us to properly delete the incomplete SA with the correct protocol
should negotiation fail.
src/libcharon/sa/child_sa.c