summaryrefslogtreecommitdiffstats
path: root/test/provider_internal_test.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-03-25 02:37:24 +0100
committerShane Lontis <shane.lontis@oracle.com>2019-03-25 02:37:24 +0100
commitf4b4574f4bc8b3099c34162332e317bd314e35a1 (patch)
treec9f8d0bf79de8436003648493d2c77dd5a7cdc11 /test/provider_internal_test.c
parentModify the RSA_private_decrypt functions to check the padding in (diff)
downloadopenssl-f4b4574f4bc8b3099c34162332e317bd314e35a1.tar.xz
openssl-f4b4574f4bc8b3099c34162332e317bd314e35a1.zip
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_internal_test.c')
-rw-r--r--test/provider_internal_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c
index ca554b8932..7f6bb20e49 100644
--- a/test/provider_internal_test.c
+++ b/test/provider_internal_test.c
@@ -35,9 +35,9 @@ static int test_provider(OSSL_PROVIDER *prov)
if (!TEST_ptr(name = ossl_provider_name(prov)))
return 0;
- 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);
ret =
TEST_true(ossl_provider_activate(prov))