removed redundant mp_init of r and s in ecc verify hash

This commit is contained in:
John Safranek
2015-02-20 13:54:30 -08:00
parent c3f73018a0
commit 732a0dd39a

View File

@@ -2088,8 +2088,6 @@ int wc_ecc_verify_hash(const byte* sig, word32 siglen, const byte* hash,
* If either of those don't allocate correctly, none of
* the rest of this function will execute, and everything
* gets cleaned up at the end. */
mp_init(&r);
mp_init(&s);
if (err == MP_OKAY)
err = DecodeECC_DSA_Sig(sig, siglen, &r, &s);