testing: Only load selected plugins in swanctl

The main issue is that the ldap and curl plugins, or rather the libraries
they use, initialize GnuTLS (curl, strangely, even when it is, by its own
account, linked against OpenSSL).  Some of these allocations are only freed
once the libraries are unloaded.  This means that the leak detective causes
invalid frees when swanctl is terminated and libraries are unloaded after the
leak detective is already deinitialized.
This commit is contained in:
Tobias Brunner
2016-06-20 18:23:45 +02:00
parent 95a5806a8f
commit dee01d019b
@@ -1,3 +1,7 @@
swanctl {
load = x509 acert pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem openssl
}
charon {
retransmit_tries = 2
retransmit_timeout = 1.0