]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Set the RNG parameter to "auto" in the SyncRes unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 12 Apr 2018 15:18:52 +0000 (17:18 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 12 Apr 2018 15:18:52 +0000 (17:18 +0200)
pdns/recursordist/test-syncres_cc.cc

index 3a157279e29b19e6c0832c32e72207668f6d3b93..de6445f2b2d61b77cef7ce5d93694c5bb67ea51c 100644 (file)
@@ -165,6 +165,8 @@ static void init(bool debug=false)
   g_maxNSEC3Iterations = 2500;
 
   ::arg().set("version-string", "string reported on version.pdns or version.bind")="PowerDNS Unit Tests";
+  ::arg().set("rng")="auto";
+  ::arg().set("entropy-source")="/dev/urandom";
 }
 
 static void initSR(std::unique_ptr<SyncRes>& sr, bool dnssec=false, bool debug=false, time_t fakeNow=0)