mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Better use BIO_snprintf() than snprintf(), in case the later isn't available
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
e9c2b10014
commit
2d5a82570a
@ -186,8 +186,8 @@ static void tear_down(SSL_TEST_FIXTURE fixture)
|
|||||||
static int test_handshake(int idx)
|
static int test_handshake(int idx)
|
||||||
{
|
{
|
||||||
SETUP_SSL_TEST_FIXTURE();
|
SETUP_SSL_TEST_FIXTURE();
|
||||||
snprintf(fixture.test_app, sizeof(fixture.test_app),
|
BIO_snprintf(fixture.test_app, sizeof(fixture.test_app),
|
||||||
"test-%d", idx);
|
"test-%d", idx);
|
||||||
EXECUTE_SSL_TEST();
|
EXECUTE_SSL_TEST();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user