]> granicus.if.org Git - pdns/commitdiff
Use DNSName for algo
authorAki Tuomi <cmouse@cmouse.fi>
Tue, 20 Oct 2015 05:43:01 +0000 (08:43 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Tue, 20 Oct 2015 05:43:01 +0000 (08:43 +0300)
pdns/saxfr.cc

index 768e0b513d7b2aef24ab40411ae45b8d0ea71116..3d0f4020146005749b6fac4d23f3ef35d83df916 100644 (file)
@@ -128,7 +128,7 @@ try
       input="";
       DNSPacketWriter pwtkey(packet, gssctx.getLabel(), QType::TKEY, QClass::ANY);
       TKEYRecordContent tkrc;
-      tkrc.d_algo = "gss-tsig";
+      tkrc.d_algo = DNSName("gss-tsig.");
       tkrc.d_inception = time((time_t*)NULL);
       tkrc.d_expiration = tkrc.d_inception+15;
       tkrc.d_mode = 3;