提交 2d5a8257 编写于 作者: R Richard Levitte

Better use BIO_snprintf() than snprintf(), in case the later isn't available

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 e9c2b100
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册