Only canonize ECDSA signatures in MSP:IsWellFormed (#1497)
Only canonize ECDSA signatures in MSP:IsWellFormed (#1497)

Currently, the MSP IsWellFormed function expects any signature to be
a valid ECDSA signature, however the certificate can be signed by
a non-ECDSA algorithm which will then yield a false negative.

This change set ensures the check only applies if the signature is ECDSA.

Change-Id: I0b14e3e9b87e860a3ca29cc233dc4810de1768ab
Signed-off-by: yacovm <632344b5da9bd743456189af4db4b56472defb8c@il.ibm.com>
manish-sethi/fabric-sidedb,stemlending/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,hyperledger/fabric,jimthematrix/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric-sidedb,jimthematrix/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric,manish-sethi/fabric-sidedb,hyperledger/fabric,manish-sethi/fabric