aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/socket_default/socket_default_socket.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-05-27 10:17:53 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-17 18:48:04 +0200
commit735bd4ca14adb752ce6ad6f0b2dbc40173710f19 (patch)
tree2d2f7cb086fa86c5cc0269cb07b56ca3faf6347e /src/libcharon/plugins/socket_default/socket_default_socket.c
parentb76c1decd4fcb18a897d7f584fbe34a5e440a792 (diff)
downloadstrongswan-735bd4ca14adb752ce6ad6f0b2dbc40173710f19.tar.bz2
strongswan-735bd4ca14adb752ce6ad6f0b2dbc40173710f19.tar.xz
unit-tests: Make sure to flush the IKE_SA manager before destroying the sender
As the static plugin that creates and destroys the default sender was not initialized because of the missing socket the daemon won't destroy our sender. Test cases will eventually have to flush the IKE_SA manager to satisfy the leak detective. However, in case of a test failure and if there are IKE_SAs in the manager the daemon will flush the SAs when deinitializing, which will cause deletes to get sent. This crashes if the sender is already destroyed.
Diffstat (limited to 'src/libcharon/plugins/socket_default/socket_default_socket.c')
0 files changed, 0 insertions, 0 deletions