Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2017 05:08:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212149] security/strongswan: Build with libressl 2.4 causes runtime failure: Undefined symbol "CMS_RecipientInfo_ktri_get0_signer_id"
Message-ID:  <bug-212149-13-5SIAxDB9JS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212149-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212149-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212149

--- Comment #12 from dewayne@heuristicsystems.com.au ---
(In reply to Bernard Spil from comment #11)
Thanks Bernand.  There was a differences between your patch and what was on
latests ports for strongswan 5.5.2. Regardless, this is heading in the right
direction.  I moved your patch higher in the file, prior to first comparison
with the openssl version.

Result:
# /usr/local/libexec/ipsec/charon
00[DMN] Starting IKE charon daemon (strongSwan 5.5.2, FreeBSD 11.0-STABLE,
amd64)
00[LIB] plugin 'openssl' failed to load:
/usr/local/lib/ipsec/plugins/libstrongswan-openssl.so: Undefined symbol
"RSA_set0_factors"

which is used in=20
/var/ports/usr/ports/security/strongswan/work/strongswan-5.5.2/src/libstron=
gswan/plugins/openssl/openssl_rsa_private_key.c

Unfortunate.

The patch used was:
--- src/libstrongswan/plugins/openssl/openssl_plugin.c.orig     2017-04-21
14:46:36.000000000 +1000
+++ src/libstrongswan/plugins/openssl/openssl_plugin.c  2017-04-21
14:47:25.000000000 +1000
@@ -65,6 +65,10 @@
        openssl_plugin_t public;
 };

+#ifdef LIBRESSL_VERSION_NUMBER
+#define OPENSSL_VERSION_NUMBER 0x1000107fL
+#endif
+
 /**
  * OpenSSL is thread-safe since 1.1.0
  */

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212149-13-5SIAxDB9JS>