[Bug 212149] security/strongswan: Build with libressl 2.4 causes runtime failure: Undefined symbol "CMS_RecipientInfo_ktri_get0_signer_id"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 21 07:37:58 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212149

Bernard Spil <brnrd at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #181958|0                           |1
        is obsolete|                            |
 Attachment #181958|maintainer-approval?        |
              Flags|                            |
 Attachment #181970|                            |maintainer-approval?
              Flags|                            |

--- Comment #13 from Bernard Spil <brnrd at freebsd.org> ---
Created attachment 181970
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181970&action=edit
svn diff for security/strongswan

A comment that I thought I'd submitted was missing.

The RSA_set0_key and other methods only exist in versions > 1.1
https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes

Attached patch adds the missing methods. That should fix the Undefined symbol
"RSA_set0_factors" issue.

You moved the #ifdef LIBRESSL_VERSION_NUMBER to later in the openssl_plugin.c
file which surprised me.

Quick hack of the compat stuff, should land in a separate openssl_compat.c file
I'd think but good enough to upstream if it works.

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


More information about the freebsd-ports-bugs mailing list