projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6670f6
)
replaced snprintf with BIO version (for windows builds)
author
Richard Levitte
<levitte@openssl.org>
Wed, 3 Apr 2019 13:44:17 +0000
(15:44 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 3 Apr 2019 13:44:17 +0000
(15:44 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8651)
test/provider_internal_test.c
patch
|
blob
|
history
diff --git
a/test/provider_internal_test.c
b/test/provider_internal_test.c
index 54e6714ab13aed1b710a62851b22ddcb4c1ccbcd..f3006fe263388725ef76e0cb738be3efdd912b9c 100644
(file)
--- 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;
}