From 2d5a82570ab424bcf2a738d05055eeb0b089b33a Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 7 Apr 2016 13:03:29 +0200 Subject: [PATCH] Better use BIO_snprintf() than snprintf(), in case the later isn't available Reviewed-by: Tim Hudson --- test/ssl_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ssl_test.c b/test/ssl_test.c index 499afd5e23..b95120eadc 100644 --- a/test/ssl_test.c +++ b/test/ssl_test.c @@ -186,8 +186,8 @@ static void tear_down(SSL_TEST_FIXTURE fixture) static int test_handshake(int idx) { SETUP_SSL_TEST_FIXTURE(); - snprintf(fixture.test_app, sizeof(fixture.test_app), - "test-%d", idx); + BIO_snprintf(fixture.test_app, sizeof(fixture.test_app), + "test-%d", idx); EXECUTE_SSL_TEST(); }