From 49a0f70c24e548de1168ff4e67962955d9779403 Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 24 Feb 2021 14:19:13 -0800 Subject: [PATCH] Fix errors from last commit. --- wolfcrypt/test/test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index aa801d2ad..97883beab 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -14565,6 +14565,7 @@ WOLFSSL_TEST_SUBROUTINE int rsa_test(void) #if !defined(WC_NO_RNG) && !defined(WC_NO_RSA_OAEP) && \ ((!defined(WOLFSSL_RSA_VERIFY_ONLY) && !defined(WOLFSSL_RSA_PUBLIC_ONLY)) || \ defined(WOLFSSL_PUBLIC_MP)) + const char inStr[] = TEST_STRING; const word32 inLen = (word32)TEST_STRING_SZ; const word32 outSz = RSA_TEST_BYTES; const word32 plainSz = RSA_TEST_BYTES; @@ -22159,7 +22160,9 @@ static int ecc_def_curve_test(WC_RNG *rng) #else ecc_key key[1]; #endif +#ifdef WC_NO_RNG word32 idx = 0; +#endif #ifdef WOLFSSL_SMALL_STACK if (key == NULL)