]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
temporary gross hack, but need to test our whole build environment. If you set enviro...
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 12 Dec 2014 06:33:48 +0000 (07:33 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 12 Dec 2014 06:33:48 +0000 (07:33 +0100)
pdns/botansigners.cc

index 78b756dc172f1297df4f76c428e79d6d7d2f62f2..50475737ea0ee3d372dcc5429d4d188e2c1e6b75 100644 (file)
@@ -8,6 +8,7 @@
 #include <botan/look_pk.h>
 #include <botan/numthry.h>
 #include "dnssecinfra.hh"
+#include <stdlib.h>
 
 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);