forked from wolfSSL/wolfssl
ECC key gen should call ECC check key.
This commit is contained in:
committed by
Daniel Pouzzner
parent
1f67e4519c
commit
e3b2be5ea3
@ -4829,6 +4829,8 @@ int wc_ecc_make_key_ex2(WC_RNG* rng, int keysize, ecc_key* key, int curve_id,
|
||||
#endif
|
||||
|
||||
#endif /* WOLFSSL_ATECC508A */
|
||||
if (err == MP_OKAY)
|
||||
err = wc_ecc_check_key(key);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user