Add HAVE_FAST_RSA around RSA_print()

This commit is contained in:
Tesfa Mael
2019-08-26 16:54:10 -07:00
parent b2555d38bc
commit 00dadafddb
2 changed files with 3 additions and 2 deletions

View File

@ -30463,7 +30463,7 @@ WOLFSSL_EVP_PKEY *wolfSSL_PEM_read_PUBKEY(XFILE fp, EVP_PKEY **x,
#ifndef NO_RSA
#ifdef XSNPRINTF
#ifdef XSNPRINTF && !defined(HAVE_FAST_RSA)
/* a snprintf() must be available */
/******************************************************************************

View File

@ -25616,7 +25616,8 @@ static void test_wolfSSL_X509_print()
static void test_wolfSSL_RSA_print()
{
#if defined(OPENSSL_EXTRA) && !defined(NO_FILESYSTEM) && \
!defined(NO_RSA) && !defined(HAVE_FAST_RSA) && defined(WOLFSSL_KEY_GEN)
!defined(NO_RSA) && !defined(HAVE_FAST_RSA) && defined(WOLFSSL_KEY_GEN) && \
!defined(HAVE_FAST_RSA)
BIO *bio;
WOLFSSL_RSA* rsa = NULL;