From: Pieter Lexis Date: Mon, 13 Jul 2015 10:10:03 +0000 (+0200) Subject: DNSName: fix test-tsig X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~57^2~3^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e16c059852e9e4564d409a936e6d23035e3ed61;p=thirdparty%2Fpdns.git DNSName: fix test-tsig --- diff --git a/pdns/tsig-tests.cc b/pdns/tsig-tests.cc index 02a0b69c3f..26d2818ca4 100644 --- a/pdns/tsig-tests.cc +++ b/pdns/tsig-tests.cc @@ -46,7 +46,7 @@ try string key; B64Decode("Syq9L9WrBWdxBC+HxKok2g==", key); - string keyname("pdns-b-aa"); + DNSName keyname("pdns-b-aa"); TSIGRecordContent trc; trc.d_algoName="hmac-md5.sig-alg.reg.int"; @@ -92,8 +92,8 @@ try } #endif seedRandom("/dev/urandom"); - cerr<<"Keyname: '"< res; while(axfr.getChunk(res)) { }