[pkg-opensc-commit] [libp11] 18/27: Workaround for #162

Eric Dorland eric at moszumanska.debian.org
Mon Aug 7 19:48:09 UTC 2017


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

eric pushed a commit to branch master
in repository libp11.

commit 8d981120b8b297b7c632a50a89263229e6096d3a
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date:   Tue Jun 27 20:59:52 2017 +0200

    Workaround for #162
---
 src/p11_front.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/p11_front.c b/src/p11_front.c
index ff3b459..165b3ee 100644
--- a/src/p11_front.c
+++ b/src/p11_front.c
@@ -380,6 +380,9 @@ int PKCS11_generate_random(PKCS11_SLOT *slot, unsigned char *r, unsigned int r_l
 
 void ERR_load_PKCS11_strings(void)
 {
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+	OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
+#endif
 	ERR_load_P11_strings();
 	ERR_load_CKR_strings();
 }

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



More information about the pkg-opensc-commit mailing list