mirror of
https://github.com/miekg/dns.git
synced 2025-12-10 06:11:01 +01:00
loose the dns. prefix
This commit is contained in:
parent
e7def2e94e
commit
8fbcb3e408
@ -72,7 +72,7 @@ func (k *RR_DNSKEY) KeyTag() uint16 {
|
||||
keywire.Protocol = k.Protocol
|
||||
keywire.Algorithm = k.Algorithm
|
||||
keywire.PublicKey = k.PublicKey
|
||||
wire := make([]byte, dns.DefaultMsgSize)
|
||||
wire := make([]byte, DefaultMsgSize)
|
||||
n, ok := packStruct(keywire, wire, 0)
|
||||
if !ok {
|
||||
return 0
|
||||
@ -106,7 +106,7 @@ func (k *RR_DNSKEY) ToDS(h int) *RR_DS {
|
||||
keywire.Protocol = k.Protocol
|
||||
keywire.Algorithm = k.Algorithm
|
||||
keywire.PublicKey = k.PublicKey
|
||||
wire := make([]byte, dns.DefaultMsgSize)
|
||||
wire := make([]byte, DefaultMsgSize)
|
||||
n, ok := packStruct(keywire, wire, 0)
|
||||
if !ok {
|
||||
return nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user