mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
replaced snprintf with BIO version (for windows builds)
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8651)
This commit is contained in:
parent
b6670f690c
commit
e4e91084d6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user