diff --git a/crypto/ecdsa.go b/crypto/ecdsa.go index ea800ce..a693ef1 100644 --- a/crypto/ecdsa.go +++ b/crypto/ecdsa.go @@ -162,9 +162,6 @@ func (ePub *ECDSAPublicKey) Verify(data, sigBytes []byte) (bool, error) { if _, err := asn1.Unmarshal(sigBytes, sig); err != nil { return false, err } - if sig == nil { - return false, ErrNilSig - } hash := sha256.Sum256(data)