From de61a8e5d3c91b298d6031cb9227fb698d418ba2 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 21 May 2020 19:41:40 +0200 Subject: [PATCH] Enable wolfSSL_BIO_vprintf on Windows Enable wolfSSL_BIO_vprintf use with WOLFSSL_BIO_MEMORY and WOLFSSL_BIO_SSL on Windows with the HAVE_VA_COPY flag --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index bc14865ad..cb19ebc5b 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -26404,7 +26404,7 @@ int wolfSSL_BIO_vprintf(WOLFSSL_BIO* bio, const char* format, va_list args) break; case WOLFSSL_BIO_MEMORY: - #if defined(OPENSSL_EXTRA) && !defined(_WIN32) + #if defined(OPENSSL_EXTRA) && (!defined(_WIN32) || defined(HAVE_VA_COPY)) case WOLFSSL_BIO_SSL: { int count;