remove debugging.Validation code works, but isnt validating

This commit is contained in:
Miek Gieben 2012-04-15 21:43:52 +02:00
parent e6b2ec8d72
commit cf627feaa8
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ func (s *RR_RRSIG) Verify(k *RR_DNSKEY, rrset []RR) error {
r.SetBytes(sigbuf[:len(sigbuf)/2])
s := big.NewInt(0)
s.SetBytes(sigbuf[len(sigbuf)/2:])
if ! ecdsa.Verify(pubkey, sighash, r, s) {
if ecdsa.Verify(pubkey, sighash, r, s) {
return ErrSig
}
return nil