From: bert hubert Date: Fri, 12 Dec 2014 06:33:48 +0000 (+0100) Subject: temporary gross hack, but need to test our whole build environment. If you set enviro... X-Git-Tag: rec-3.7.0-rc1~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0924adaf842321ca32e6a4c6ef77c5e79d16a2f;p=thirdparty%2Fpdns.git temporary gross hack, but need to test our whole build environment. If you set environment variable NOBOTAN, we won't use Botan for signing. --- diff --git a/pdns/botansigners.cc b/pdns/botansigners.cc index 78b756dc17..50475737ea 100644 --- a/pdns/botansigners.cc +++ b/pdns/botansigners.cc @@ -8,6 +8,7 @@ #include #include #include "dnssecinfra.hh" +#include using namespace Botan; @@ -253,6 +254,8 @@ struct LoaderBotanStruct { LoaderBotanStruct() { + if(getenv("NOBOTAN")) + return; new Botan::LibraryInitializer("thread_safe=true"); // this leaks, but is fine DNSCryptoKeyEngine::report(5, &BotanRSADNSCryptoKeyEngine::maker);