diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-07 13:03:29 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-07 13:35:24 +0200 |
commit | 2d5a82570ab424bcf2a738d05055eeb0b089b33a (patch) | |
tree | 9479dbd335f4075d2772551074665d4bd70fcd4b /test | |
parent | e9c2b100141631d614fe32cc1955a985c817286c (diff) | |
download | openssl-2d5a82570ab424bcf2a738d05055eeb0b089b33a.tar.gz |
Better use BIO_snprintf() than snprintf(), in case the later isn't available
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/ssl_test.c | 4 |
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(); } |