protobuf: fix hash
[openadk.git] / package / strongswan / patches / patch-src_libstrongswan_plugins_openssl_openssl_plugin_c
blob401bd7a649b5618fb6e20dd311cf5d1530ca1c5d
1 --- strongswan-5.5.0.orig/src/libstrongswan/plugins/openssl/openssl_plugin.c    2016-06-30 16:20:10.000000000 +0200
2 +++ strongswan-5.5.0/src/libstrongswan/plugins/openssl/openssl_plugin.c 2016-09-30 05:36:45.015692462 +0200
3 @@ -573,7 +573,7 @@ plugin_t *openssl_plugin_create()
4                 },
5         );
6  
7 -#if OPENSSL_VERSION_NUMBER >= 0x10100000L
8 +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
9         /* note that we can't call OPENSSL_cleanup() when the plugin is destroyed
10          * as we couldn't initialize the library again afterwards */
11         OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG |