Merge pull request #3663 from SparkiDev/sp_int_fixes_3

SP int: make sp_copy more available
This commit is contained in:
David Garske
2021-01-18 22:02:34 -08:00
committed by GitHub

View File

@ -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.