mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
ecc.c: fix a deadcode.DeadStores warning in wc_ecc_gen_deterministic_k().
This commit is contained in:
@ -6119,7 +6119,7 @@ int wc_ecc_gen_deterministic_k(const byte* hash, word32 hashSz,
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
|
||||
if ((xSz = mp_unsigned_bin_size(priv)) > MAX_ECC_BYTES) {
|
||||
if (mp_unsigned_bin_size(priv) > MAX_ECC_BYTES) {
|
||||
WOLFSSL_MSG("private key larger than max expected!");
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
|
Reference in New Issue
Block a user