From 949af909bf32789d741cdabe685d95b7410674fb Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Tue, 19 Jan 2021 11:01:00 +1000 Subject: [PATCH] SP int: make sp_copy more available --- wolfcrypt/src/sp_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index 5828d4446..d2af6a1d8 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -2220,7 +2220,7 @@ void sp_forcezero(sp_int* a) #endif /* !WOLFSSL_RSA_VERIFY_ONLY || !NO_DH || HAVE_ECC */ #if defined(WOLSSL_SP_MATH_ALL) || !defined(NO_DH) || defined(HAVE_ECC) || \ - !defined(NO_RSA) + !defined(NO_RSA) || defined(WOLFSSL_KEY_GEN) || defined(HAVE_COMP_KEY) /* Copy value of multi-precision number a into r. * * @param [in] a SP integer - source.