[pkg-opensc-commit] [libp11] 10/33: Handle deprecated ERR_remove_thread_state()
Eric Dorland
eric at moszumanska.debian.org
Mon Sep 19 02:11:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit d8f2a156b14ddd2c7a96567091715bb92b255131
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date: Thu Jul 21 13:18:21 2016 +0200
Handle deprecated ERR_remove_thread_state()
---
examples/decrypt.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/examples/decrypt.c b/examples/decrypt.c
index 7090206..fe14544 100644
--- a/examples/decrypt.c
+++ b/examples/decrypt.c
@@ -231,8 +231,11 @@ loggedin:
CRYPTO_cleanup_all_ex_data();
ERR_free_strings();
-#if OPENSSL_VERSION_NUMBER >= 0x10100004L
- /* OpenSSL version >= 1.1.0-pre4 */
+#if OPENSSL_VERSION_NUMBER >= 0x10100006L
+ /* OpenSSL version >= 1.1.0-pre6 */
+ /* the function is no longer needed */
+#elif OPENSSL_VERSION_NUMBER >= 0x10100004L
+ /* OpenSSL version 1.1.0-pre4 or 1.1.0-pre5 */
ERR_remove_thread_state();
#elif OPENSSL_VERSION_NUMBER >= 0x10000000L
/* OpenSSL version >= 1.0.0 */
--
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