SP int: get keygen working with SP math again

./configure --enable-sp --enable-sp-math --enable-keygen
This commit is contained in:
Sean Parkinson
2021-02-25 10:01:27 +10:00
parent c201b6801c
commit d805a5c681
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -13230,7 +13230,7 @@ int sp_prime_is_prime_ex(sp_int* a, int t, int* result, WC_RNG* rng)
}
#endif /* WOLFSSL_SP_MATH_ALL || WOLFSSL_HAVE_SP_DH */
#if defined(WOLFSSL_SP_MATH_ALL) && !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
/* Calculates the Greatest Common Denominator (GCD) of a and b into r.
*