typos in comments

This commit is contained in:
Miek Gieben 2010-12-30 15:22:13 +01:00
parent 52a26798b7
commit 9b745ab4d3
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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