From: bert hubert Date: Tue, 2 Feb 2016 14:25:31 +0000 (+0100) Subject: this commit enters verbose debugging output into our packages. This is because it... X-Git-Tag: dnsdist-1.0.0-alpha2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42f01311dc806cb1baadf150ded2384c2287aafa;p=pdns this commit enters verbose debugging output into our packages. This is because it is the packages that have problems, not what we compile locally. --- diff --git a/pdns/opensslsigners.cc b/pdns/opensslsigners.cc index b722d1cde..a9d5e8eae 100644 --- a/pdns/opensslsigners.cc +++ b/pdns/opensslsigners.cc @@ -6,9 +6,76 @@ #include #include #include - +#include "opensslsigners.hh" #include "dnssecinfra.hh" + +static pthread_mutex_t *openssllocks; + +extern "C" { +void openssl_pthreads_locking_callback(int mode, int type, const char *file, int line) +{ + if (mode & CRYPTO_LOCK) { + if(type != 19 && type !=18) + cout<<"Lock of "< " << ((type&CRYPTO_READ)?"r":"w")< "<<((type&CRYPTO_READ)?"r":"w")<