mirror of
https://github.com/miekg/dns.git
synced 2025-12-16 17:21:17 +01:00
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)
|
go res.Xfr(m, c)
|
||||||
for x := range 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) {
|
switch priv := p.(type) {
|
||||||
case *rsa.PrivateKey:
|
case *rsa.PrivateKey:
|
||||||
if 65537 != priv.PublicKey.E {
|
if 65537 != priv.PublicKey.E {
|
||||||
t.Log("Exponenet should be 65537")
|
t.Log("Exponenent should be 65537")
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user