summaryrefslogtreecommitdiff
path: root/test/provider_test.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-03-25 11:37:24 +1000
committerShane Lontis <shane.lontis@oracle.com>2019-03-25 11:37:24 +1000
commitf4b4574f4bc8b3099c34162332e317bd314e35a1 (patch)
treec9f8d0bf79de8436003648493d2c77dd5a7cdc11 /test/provider_test.c
parent9c0cf214e7836eb5aaf1ea5d3cbf6720533f86b5 (diff)
downloadopenssl-new-f4b4574f4bc8b3099c34162332e317bd314e35a1.tar.gz
replaced snprintf with BIO version (for windows builds)
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8571)
Diffstat (limited to 'test/provider_test.c')
-rw-r--r--test/provider_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/provider_test.c b/test/provider_test.c
index eefafcf5d5..3de9266a99 100644
--- a/test/provider_test.c
+++ b/test/provider_test.c
@@ -32,7 +32,7 @@ static int test_provider(const char *name)
const char *greeting = NULL;
char expected_greeting[256];
- snprintf(expected_greeting, sizeof(expected_greeting),
+ BIO_snprintf(expected_greeting, sizeof(expected_greeting),
"Hello OpenSSL %.20s, greetings from %s!",
OPENSSL_VERSION_STR, name);