From 8a6216363d1de560197d8c63e9b2ba288cf4cb35 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 17 Sep 2020 21:58:52 -0500 Subject: [PATCH] ecc.c: add (void)rng to wc_ecc_mulmod_ex2() to cover WOLFSSL_SP_MATH case. --- wolfcrypt/src/ecc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index 163260e15..85a32ed1e 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -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;