Very small tweaks/bugfixes
This commit is contained in:
parent
39e65855b4
commit
5e18c6fb24
|
@ -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
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue