Commit c3d69bec authored by Sandeep Rajan's avatar Sandeep Rajan Committed by Chris O'Haver

fix formatting (#2302)

parent 94c9aae3
......@@ -81,10 +81,10 @@ func (d Dnssec) getDNSKEY(state request.Request, zone string, do bool, server st
// Return true iff 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 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).
func (k DNSKEY) isKSK() bool {
return k.K.Flags & (1<<8) == (1<<8) && k.K.Flags & 1 == 1
return k.K.Flags&(1<<8) == (1<<8) && k.K.Flags&1 == 1
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment