ecc.c: add (void)rng to wc_ecc_mulmod_ex2() to cover WOLFSSL_SP_MATH case.

This commit is contained in:
Daniel Pouzzner
2020-09-17 21:58:52 -05:00
parent a571378b5f
commit 8a6216363d

View File

@ -10122,6 +10122,8 @@ int wc_ecc_mulmod_ex2(mp_int* k, ecc_point *G, ecc_point *R, mp_int* a,
return err;
#else
(void)rng;
if (k == NULL || G == NULL || R == NULL || a == NULL || modulus == NULL ||
order == NULL) {
return ECC_BAD_ARG_E;