From f5d9cf0e5de78081f47e310cea2f9fcdb81807bc Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 23 Feb 2017 16:45:44 -0700 Subject: [PATCH] XSNPRINTF not defined in the case of having no filesystem --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index 7b3f6deaa..a7999320f 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -15105,6 +15105,7 @@ static void ExternalFreeX509(WOLFSSL_X509* x509) } +#ifdef XSNPRINTF /* a snprintf function needs to be available */ /* Writes the human readable form of x509 to bio. * * bio WOLFSSL_BIO to write to. @@ -15739,6 +15740,7 @@ static void ExternalFreeX509(WOLFSSL_X509* x509) return SSL_SUCCESS; } +#endif /* XSNPRINTF */ #endif /* OPENSSL_EXTRA */