[pkg-opensc-commit] [opensc] 86/295: openssl: allow building against libressl (#878)

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit 7b9bd6003082a60bbc4452f048ca8a7b839025f1
Author: Leonardo Brondani Schenkel <leonardo at schenkel.net>
Date:   Mon Sep 26 14:54:58 2016 +0200

    openssl: allow building against libressl (#878)
---
 src/pkcs11/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pkcs11/openssl.c b/src/pkcs11/openssl.c
index 1ded29e..4431e69 100644
--- a/src/pkcs11/openssl.c
+++ b/src/pkcs11/openssl.c
@@ -180,7 +180,7 @@ sc_pkcs11_register_openssl_mechanisms(struct sc_pkcs11_card *p11card)
 	e = ENGINE_by_id("gost");
 	if (!e)
 	{
-#if !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST)
+#if !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST) && !defined(LIBRESSL_VERSION_NUMBER)
 		ENGINE_load_gost();
 		e = ENGINE_by_id("gost");
 #else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list