diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-06-17 11:18:25 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-06-17 18:43:36 +0200 |
commit | c423d0e8a124044650842ddb66d88f40f79585d4 (patch) | |
tree | 0cdaa5af6c5f9b399aa1f1f0fc63c99320c10b7e /src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c | |
parent | 941ac92b95ecf7bbfb39ff96b9b252fcc2f69d0a (diff) | |
download | strongswan-c423d0e8a124044650842ddb66d88f40f79585d4.tar.bz2 strongswan-c423d0e8a124044650842ddb66d88f40f79585d4.tar.xz |
testing: Fix race in tnc/tnccs-20-pdp-pt-tls scenario
aacf84d837e7 ("testing: Add expect-connection calls for all tests and
hosts") removed the expect-connection call for the non-existing aaa
connection. However, because the credentials were loaded asynchronously
via start-script the clients might have been connecting when the secrets
were not yet loaded. As `swanctl --load-creds` is a synchronous call
this change avoids that issue without having to add a sleep or failing
expect-connection call.
Diffstat (limited to 'src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c')
0 files changed, 0 insertions, 0 deletions