]> git.ipfire.org Git - people/ms/strongswan.git/commit
child-create: Make nonceg a member of child_create struct
authorReto Buerki <reet@codelabs.ch>
Thu, 23 Apr 2015 06:46:18 +0000 (08:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 4 May 2015 16:07:51 +0000 (18:07 +0200)
commit72376234cbc449b062c68a24837aeefacad44ade
tree90b30522b46185a9295a09ad3ec06b6dc3b36713
parent8cdc563258db508ce7a848f63f68cbe37b4f40e0
child-create: Make nonceg a member of child_create struct

This allows to control the life-cycle of a nonce in the context of the
child create task. In the TKM use-case, it is required to reset the
nonce context if the created nonce is not consumed. This happens if the
child SA negotiation fails and it is detected before the SA is
established via the TKM kernel plugin (i.e. rekey collision).
src/libcharon/sa/ikev2/tasks/child_create.c