mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
Fix some typos in comments. (#4100)
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
// hash serializes the RRset and return a signature cache key.
|
||||
// hash serializes the RRset and returns a signature cache key.
|
||||
func hash(rrs []dns.RR) uint64 {
|
||||
h := fnv.New64()
|
||||
buf := make([]byte, 256)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
// ResponseWriter sign the response on the fly.
|
||||
// ResponseWriter signs the response on the fly.
|
||||
type ResponseWriter struct {
|
||||
dns.ResponseWriter
|
||||
d Dnssec
|
||||
|
||||
@@ -2,7 +2,7 @@ package dnssec
|
||||
|
||||
import "github.com/miekg/dns"
|
||||
|
||||
// newRRSIG return a new RRSIG, with all fields filled out, except the signed data.
|
||||
// newRRSIG returns a new RRSIG, with all fields filled out, except the signed data.
|
||||
func (k *DNSKEY) newRRSIG(signerName string, ttl, incep, expir uint32) *dns.RRSIG {
|
||||
sig := new(dns.RRSIG)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user