Very small tweaks/bugfixes

This commit is contained in:
Miek Gieben 2011-03-24 15:52:37 +01:00
parent 39e65855b4
commit 5e18c6fb24
3 changed files with 6 additions and 11 deletions

View File

@ -1,9 +0,0 @@
xx YYY 2011: 0.0.1 Miek Gieben <miek@miek.nl>
* Most known RRs supported
* Unknown RRs (RFC3597) supported
* DNSSEC (verification and signing)
* Key generation
* Private key file parsing from BIND files
* TSIG
* EDNS0, NSID
* Server side support

View File

@ -27,6 +27,10 @@ func main() {
}
go res.Xfr(m, c)
for x := range c {
fmt.Printf("%v %v\n",x.Add, x.RR)
if x.Err != nil {
fmt.Printf("%v\n",x.Err)
} else {
fmt.Printf("%v %v\n",x.Add, x.RR)
}
}
}

View File

@ -83,7 +83,7 @@ Activate: 20110109154937`
switch priv := p.(type) {
case *rsa.PrivateKey:
if 65537 != priv.PublicKey.E {
t.Log("Exponenet should be 65537")
t.Log("Exponenent should be 65537")
t.Fail()
}
}