diff --git a/msp/mspimpl.go b/msp/mspimpl.go index 10d71f9d22a..840e58cbb3d 100644 --- a/msp/mspimpl.go +++ b/msp/mspimpl.go @@ -847,6 +847,10 @@ func (msp *bccspmsp) IsWellFormed(identity *m.SerializedIdentity) error { return err } + if !isECDSASignedCert(cert) { + return nil + } + return isIdentitySignedInCanonicalForm(cert.Signature, identity.Mspid, identity.IdBytes) }