From: Richard Levitte Date: Wed, 3 Apr 2019 13:44:17 +0000 (+0200) Subject: replaced snprintf with BIO version (for windows builds) X-Git-Tag: openssl-3.0.0-alpha1~2242 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e4e91084d6b7acbe55139141f553b361871ec768;p=oweals%2Fopenssl.git replaced snprintf with BIO version (for windows builds) Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8651) --- diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c index 54e6714ab1..f3006fe263 100644 --- a/test/provider_internal_test.c +++ b/test/provider_internal_test.c @@ -42,9 +42,9 @@ static const char *expected_greeting1(const char *name) { static char expected_greeting[256] = ""; - snprintf(expected_greeting, sizeof(expected_greeting), - "Hello OpenSSL %.20s, greetings from %s!", - OPENSSL_VERSION_STR, name); + BIO_snprintf(expected_greeting, sizeof(expected_greeting), + "Hello OpenSSL %.20s, greetings from %s!", + OPENSSL_VERSION_STR, name); return expected_greeting; }