svn commit: r421949 - head/security/strongswan/files
John Marino
marino at FreeBSD.org
Mon Sep 12 18:28:21 UTC 2016
Author: marino
Date: Mon Sep 12 18:28:20 2016
New Revision: 421949
URL: https://svnweb.freebsd.org/changeset/ports/421949
Log:
security/strongswan: Fix build with LibreSSL
Approved by: SSL blanket
Added:
head/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c (contents, props changed)
Added: head/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c Mon Sep 12 18:28:20 2016 (r421949)
@@ -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 |
More information about the svn-ports-all
mailing list