From e5d9043e6af7c7615e6f8578c6ef2fd7c702d256 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 20 Oct 2015 08:43:01 +0300 Subject: [PATCH] Use DNSName for algo --- pdns/saxfr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/saxfr.cc b/pdns/saxfr.cc index 768e0b513..3d0f40201 100644 --- a/pdns/saxfr.cc +++ b/pdns/saxfr.cc @@ -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; -- 2.50.1