#include "config.h"
#endif
#include <boost/test/unit_test.hpp>
+#include "arguments.hh"
#include "dnswriter.hh"
#include "dnsrecords.hh"
#include "dns_random.hh"
uint32_t ttd=3600;
BOOST_CHECK_EQUAL(rpc.size(), 0);
+ ::arg().set("rng")="auto";
+ ::arg().set("entropy-source")="/dev/urandom";
+
DNSName qname("www.powerdns.com");
vector<uint8_t> packet;
DNSPacketWriter pw(packet, qname, QType::A);
uint32_t ttd=3600;
BOOST_CHECK_EQUAL(rpc.size(), 0);
+ ::arg().set("rng")="auto";
+ ::arg().set("entropy-source")="/dev/urandom";
+
DNSName qname("www.powerdns.com");
vector<uint8_t> packet;
DNSPacketWriter pw(packet, qname, QType::A);