[xmltooling] 06/07: CPPXT-110 OpenSSL 1.1 internalizes locking.
Ferenc Wágner
wferi at moszumanska.debian.org
Fri Sep 2 19:55:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi pushed a commit to branch master
in repository xmltooling.
commit 6de4876ff7909227350cb5c9eb40cfc25e63a666
Author: Rod Widdowson <rdw at steadingsoftware.com>
Date: Tue Jul 19 16:15:10 2016 +0100
CPPXT-110 OpenSSL 1.1 internalizes locking.
https://issues.shibboleth.net/jira/browse/CPPXT-110
https://www.openssl.org/docs/manmaster/crypto/CRYPTO_THREAD_lock_free.html
"The old locking functions have been removed completely without compatibility macros"
For now we just make the callback compile. More work TBD.
---
xmltooling/XMLToolingConfig.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/xmltooling/XMLToolingConfig.cpp b/xmltooling/XMLToolingConfig.cpp
index 6925a23..a8b4bb5 100644
--- a/xmltooling/XMLToolingConfig.cpp
+++ b/xmltooling/XMLToolingConfig.cpp
@@ -111,6 +111,15 @@ using namespace xmlsignature;
namespace {
static XMLToolingInternalConfig g_config;
#ifndef XMLTOOLING_NO_XMLSEC
+// NOTE:
+// "The old locking functions have been removed completely without compatibility macros"
+// see:
+// https://www.openssl.org/docs/manmaster/crypto/CRYPTO_THREAD_lock_free.html
+//
+// For now we just make the callback compile. More work TBD
+#ifndef CRYPTO_LOCK
+#define CRYPTO_LOCK 1
+#endif
static ptr_vector<Mutex> g_openssl_locks;
extern "C" void openssl_locking_callback(int mode,int n,const char *file,int line)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git
More information about the Pkg-shibboleth-devel
mailing list