From: Tobias Brunner Date: Tue, 10 Feb 2015 15:08:09 +0000 (+0100) Subject: configure: Load SQL backends after crypto plugins X-Git-Tag: 5.3.0dr1~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=482810141cdf7196e5dc5d30eb734de3584a6ba4;p=thirdparty%2Fstrongswan.git configure: Load SQL backends after crypto plugins If the MySQL client library is linked against OpenSSL the mysql plugin will cause a segmentation fault when it is unloaded after the openssl plugin has already been deinitialized. This is very similar to the issues with curl (see 44b6a34d438f). Fixes #814. --- diff --git a/configure.ac b/configure.ac index 7f7248e886..f9b235093c 100644 --- a/configure.ac +++ b/configure.ac @@ -1208,8 +1208,6 @@ t_plugins= ADD_PLUGIN([test-vectors], [s charon scepclient pki]) ADD_PLUGIN([unbound], [s charon scripts]) ADD_PLUGIN([ldap], [s charon scepclient scripts nm cmd]) -ADD_PLUGIN([mysql], [s charon pool manager medsrv attest]) -ADD_PLUGIN([sqlite], [s charon pool manager medsrv attest]) ADD_PLUGIN([pkcs11], [s charon pki nm cmd]) ADD_PLUGIN([aes], [s charon scepclient pki scripts nm cmd]) ADD_PLUGIN([des], [s charon scepclient pki scripts nm cmd]) @@ -1256,6 +1254,8 @@ ADD_PLUGIN([bliss], [s charon pki scripts nm cmd]) ADD_PLUGIN([curl], [s charon scepclient pki scripts nm cmd]) ADD_PLUGIN([winhttp], [s charon pki scripts]) ADD_PLUGIN([soup], [s charon pki scripts nm cmd]) +ADD_PLUGIN([mysql], [s charon pool manager medsrv attest]) +ADD_PLUGIN([sqlite], [s charon pool manager medsrv attest]) ADD_PLUGIN([attr], [h charon]) ADD_PLUGIN([attr-sql], [h charon]) ADD_PLUGIN([load-tester], [c charon])