aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-04-07 13:03:29 +0200
committerRichard Levitte <levitte@openssl.org>2016-04-07 13:35:24 +0200
commit2d5a82570ab424bcf2a738d05055eeb0b089b33a (patch)
tree9479dbd335f4075d2772551074665d4bd70fcd4b
parente9c2b100141631d614fe32cc1955a985c817286c (diff)
downloadopenssl-2d5a82570ab424bcf2a738d05055eeb0b089b33a.tar.gz
Better use BIO_snprintf() than snprintf(), in case the later isn't available
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--test/ssl_test.c4
1 files 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();
}