From 8418a22857d4cb7dabd99737396653c8efaf745f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Fri, 20 Sep 2013 08:15:27 -0700 Subject: [PATCH] Whitespace cleanup --- README.markdown | 6 +++--- TODO.markdown | 2 +- ex/q/q.go | 2 +- parse_test.go | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.markdown b/README.markdown index 174aa71d..47de7ed9 100644 --- a/README.markdown +++ b/README.markdown @@ -63,7 +63,7 @@ A short "how to use the API" is at the beginning of dns.go (this also will show when you call `go doc github.com/miekg/dns`. Sample programs can be found in the `ex` directory. They can also be build with: `go build`. - + ## Supported RFCs *all of them* @@ -89,14 +89,14 @@ with: `go build`. * 3597 - Unkown RRs * 403{3,4,5} - DNSSEC + validation functions * 4255 - SSHFP record -* 4343 - Case insensitivity +* 4343 - Case insensitivity * 4408 - SPF record * 4509 - SHA256 Hash in DS * 4592 - Wildcards in the DNS * 4635 - HMAC SHA TSIG * 4701 - DHCID * 4892 - id.server -* 5001 - NSID +* 5001 - NSID * 5155 - NSEC3 record * 5205 - HIP record * 5702 - SHA2 in the DNS diff --git a/TODO.markdown b/TODO.markdown index 16582cdd..b37c177e 100644 --- a/TODO.markdown +++ b/TODO.markdown @@ -9,7 +9,7 @@ * Speed, we can always go faster. A simple reflect server now hits 75/80K qps on moderate hardware * go test; only works correct on my machine -* privatekey.Precompute() when signing? +* privatekey.Precompute() when signing? ## RRs not implemented diff --git a/ex/q/q.go b/ex/q/q.go index 86f776ba..04f6b86e 100644 --- a/ex/q/q.go +++ b/ex/q/q.go @@ -316,7 +316,7 @@ func sectionCheck(set []dns.RR, server string, tcp bool) { } } -// Check the sigs in the msg, get the signer's key (additional query), get the +// Check the sigs in the msg, get the signer's key (additional query), get the // rrset from the message, check the signature(s) func sigCheck(in *dns.Msg, server string, tcp bool) { sectionCheck(in.Answer, server, tcp) diff --git a/parse_test.go b/parse_test.go index bda8e46b..bbf672eb 100644 --- a/parse_test.go +++ b/parse_test.go @@ -220,11 +220,11 @@ func TestParseBrace(t *testing.T) { "_ssh._tcp.local. 60 IN (PTR) stora._ssh._tcp.local.": "_ssh._tcp.local.\t60\tIN\tPTR\tstora._ssh._tcp.local.", "miek.nl. NS ns.miek.nl": "miek.nl.\t3600\tIN\tNS\tns.miek.nl.", `(miek.nl.) ( - (IN) + (IN) (AAAA) (::1) )`: "miek.nl.\t3600\tIN\tAAAA\t::1", `(miek.nl.) ( - (IN) + (IN) (AAAA) (::1))`: "miek.nl.\t3600\tIN\tAAAA\t::1", "miek.nl. IN AAAA ::2": "miek.nl.\t3600\tIN\tAAAA\t::2", @@ -339,7 +339,7 @@ name. 10800 IN NS name. NS d6.nstld.com. NS f6.nstld.com. NS m6.nstld.com. -( +( NS m7.nstld.com. ) $ORIGIN name. @@ -419,7 +419,7 @@ func TestLineNumberError2(t *testing.T) { "example.com. 1000 SO master.example.com. admin.example.com. 1 4294967294 4294967293 4294967295 100": "dns: expecting RR type or class, not this...: \"SO\" at line: 1:21", "example.com 1000 IN TALINK a.example.com. b..example.com.": "dns: bad TALINK NextName: \"b..example.com.\" at line: 1:57", "example.com 1000 IN TALINK ( a.example.com. b..example.com. )": "dns: bad TALINK NextName: \"b..example.com.\" at line: 1:60", - `example.com 1000 IN TALINK ( a.example.com. + `example.com 1000 IN TALINK ( a.example.com. bb..example.com. )`: "dns: bad TALINK NextName: \"bb..example.com.\" at line: 2:18", // This is a bug, it should report an error on line 1, but the new is already processed. `example.com 1000 IN TALINK ( a.example.com. b...example.com.