From 964ee532c7d4a5bf1c74409bf408d5d7675f4462 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 12 Apr 2018 17:18:52 +0200 Subject: [PATCH] rec: Set the RNG parameter to "auto" in the SyncRes unit tests --- pdns/recursordist/test-syncres_cc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/recursordist/test-syncres_cc.cc b/pdns/recursordist/test-syncres_cc.cc index 3a157279e2..de6445f2b2 100644 --- a/pdns/recursordist/test-syncres_cc.cc +++ b/pdns/recursordist/test-syncres_cc.cc @@ -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& sr, bool dnssec=false, bool debug=false, time_t fakeNow=0) -- 2.47.2