From 9b745ab4d3bba8883b374961e5e09b0122921da9 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 30 Dec 2010 15:22:13 +0100 Subject: [PATCH] typos in comments --- dnssec/dnssec_test.go | 2 +- edns.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dnssec/dnssec_test.go b/dnssec/dnssec_test.go index 81b7f8b1..7651b4f8 100644 --- a/dnssec/dnssec_test.go +++ b/dnssec/dnssec_test.go @@ -41,7 +41,7 @@ func TestSecure(t *testing.T) { key.PubKey = "AwEAAcNEU67LJI5GEgF9QLNqLO1SMq1EdoQ6E9f85ha0k0ewQGCblyW2836GiVsm6k8Kr5ECIoMJ6fZWf3CQSQ9ycWfTyOHfmI3eQ/1Covhb2y4bAmL/07PhrL7ozWBW3wBfM335Ft9xjtXHPy7ztCbV9qZ4TVDTW/Iyg0PiwgoXVesz" fmt.Fprintf(os.Stderr, "%v\n%v\n", sig, soa) - // It should validate, at least this month dec 2010 + // It should validate. Period is checked seperately, so this will keep on working if ! Verify(sig, key, []dns.RR{soa}) { t.Log("Failure to validate") t.Fail() diff --git a/edns.go b/edns.go index 93adcf14..42c5b459 100644 --- a/edns.go +++ b/edns.go @@ -70,7 +70,7 @@ func (rr *RR_OPT) UDPSize(size uint16, set bool) uint16 { return rr.Hdr.Class } -// Set/Getthe DoBit +// Set/Get the DoBit func (rr *RR_OPT) DoBit(do, set bool) bool { // rr.TTL last 2 bytes, left most bit // See line 239 in msg.go for TTL encoding