fix mis-spelling (#3310)

Signed-off-by: xieyanker <xjsisnice@gmail.com>
This commit is contained in:
xieyanker
2019-09-26 20:19:45 +08:00
committed by Miek Gieben
parent 27e22b0696
commit 9a5e4fa1a0
11 changed files with 13 additions and 13 deletions

View File

@@ -79,12 +79,12 @@ func (d Dnssec) getDNSKEY(state request.Request, zone string, do bool, server st
return m
}
// Return true iff this is a zone key with the SEP bit unset. This implies a ZSK (rfc4034 2.1.1).
// Return true if this is a zone key with the SEP bit unset. This implies a ZSK (rfc4034 2.1.1).
func (k DNSKEY) isZSK() bool {
return k.K.Flags&(1<<8) == (1<<8) && k.K.Flags&1 == 0
}
// Return true iff this is a zone key with the SEP bit set. This implies a KSK (rfc4034 2.1.1).
// Return true if this is a zone key with the SEP bit set. This implies a KSK (rfc4034 2.1.1).
func (k DNSKEY) isKSK() bool {
return k.K.Flags&(1<<8) == (1<<8) && k.K.Flags&1 == 1
}