[Bug 218727] security/opensc: pkcs11-tool broken if compiled against LibreSSL
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 18 12:44:11 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218727
Bug ID: 218727
Summary: security/opensc: pkcs11-tool broken if compiled
against LibreSSL
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ale at FreeBSD.org
Reporter: xmj at FreeBSD.org
Flags: maintainer-feedback?(ale at FreeBSD.org)
Assignee: ale at FreeBSD.org
Created attachment 181863
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181863&action=edit
conditionally remove gost support
LibreSSL removed support for GOST in the past, so calls to ENGINE_load_gost
from pkcs11-tool will fail:
-----
xmj at mx16:~fractalcells/repos/fractalcells-ports/security/opensc $ pkcs11-tool
--list-slots
sc_dlopen failed: /usr/local/lib/opensc-pkcs11.so: Undefined symbol
"ENGINE_load_gost"
error: Failed to load pkcs11 module
Aborting.
-----
Stealing the voidlinux patch from [1] yields the attached patch, which works
with LibreSSL on HardenedBSD.
xmj at mx16:~fractalcells/repos/fractalcells-ports/security/opensc $ pkcs11-tool
--list-slots
Available slots:
No slots.
[1]
https://github.com/voidlinux/void-packages/commit/4b22d402a290a6192853dd3994e24128023a3b7e
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list