diff options
| -rw-r--r-- | security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c b/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c new file mode 100644 index 000000000000..67c123e233c2 --- /dev/null +++ b/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c @@ -0,0 +1,11 @@ +--- src/libstrongswan/plugins/openssl/openssl_plugin.c.orig 2016-06-30 14:20:10 UTC ++++ src/libstrongswan/plugins/openssl/openssl_plugin.c +@@ -573,7 +573,7 @@ plugin_t *openssl_plugin_create() + }, + ); + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + /* note that we can't call OPENSSL_cleanup() when the plugin is destroyed + * as we couldn't initialize the library again afterwards */ + OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG | |
