Updated previous patch with douglas's input. (still bug 323817

Truncation of hashes for ECDSA should be done at bit level, not octet level).
r= vipul r=douglas
This commit is contained in:
rrelyea%redhat.com 2006-03-22 19:02:06 +00:00
parent 7a96206e10
commit 2bfdfe5969

View File

@ -879,7 +879,6 @@ ECDSA_VerifyDigest(ECPublicKey *key, const SECItem *signature,
mp_int n;
mp_err err = MP_OKAY;
ECParams *ecParams = NULL;
SECItem localDigest;
SECItem pointC = { siBuffer, NULL, 0 };
int slen; /* length in bytes of a half signature (r or s) */
int flen; /* length in bytes of the field size */