diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-04-08 15:56:25 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-04-15 10:32:53 +0200 |
commit | 47a46be5976d71beb9fbaefa7350f79411419edb (patch) | |
tree | 2d254a0799f262e7998b8d3e3bfe4d8fbe5a9d63 /src/libstrongswan/plugins/openssl/openssl_plugin.c | |
parent | c8a219a28d937a638dba817bddaa7c77ad81ad0e (diff) | |
download | strongswan-47a46be5976d71beb9fbaefa7350f79411419edb.tar.bz2 strongswan-47a46be5976d71beb9fbaefa7350f79411419edb.tar.xz |
openssl: BoringSSL does not support configuration
The other initialization functions are still defined but many are
apparently no-ops (this is also true for the threading initialization).
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index aeb9be409..e5c1dc0ee 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -502,8 +502,10 @@ METHOD(plugin_t, get_features, int, METHOD(plugin_t, destroy, void, private_openssl_plugin_t *this) { +#ifndef OPENSSL_IS_BORINGSSL CONF_modules_free(); OBJ_cleanup(); +#endif EVP_cleanup(); #ifndef OPENSSL_NO_ENGINE ENGINE_cleanup(); @@ -555,7 +557,9 @@ plugin_t *openssl_plugin_create() threading_init(); +#ifndef OPENSSL_IS_BORINGSSL OPENSSL_config(NULL); +#endif OpenSSL_add_all_algorithms(); #ifdef OPENSSL_FIPS |