Fix for ./configure --enable-fips=ready --enable-opensslextra.

This commit is contained in:
David Garske
2020-11-03 14:23:08 -08:00
parent f8176dd646
commit d6b219bd38

View File

@ -45583,7 +45583,9 @@ int wolfSSL_RSA_private_decrypt(int len, const unsigned char* fr,
return ret;
}
#if !defined(_WIN32) && !defined(HAVE_FIPS) && !defined(HAVE_SELFTEST)
#if !defined(_WIN32) && !defined(HAVE_SELFTEST) && \
(!defined(HAVE_FIPS) || \
(defined(HAVE_FIPS_VERSION) && HAVE_FIPS_VERSION > 2))
int wolfSSL_RSA_public_decrypt(int flen, const unsigned char* from,
unsigned char* to, WOLFSSL_RSA* rsa, int padding)
{