mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Cleanup in wc_ecc_sign_hash_ex
for blinding value to not call free twice (mp_clear already does mp_free).
This commit is contained in:
@@ -5232,7 +5232,6 @@ int wc_ecc_sign_hash_ex(const byte* in, word32 inlen, WC_RNG* rng,
|
||||
}
|
||||
}
|
||||
mp_clear(b);
|
||||
mp_free(b);
|
||||
#ifdef WOLFSSL_SMALL_STACK
|
||||
XFREE(b, key->heap, DYNAMIC_TYPE_ECC);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user