Better use BIO_snprintf() than snprintf(), in case the later isn't available
[openssl.git] / test / ssl_test.c
index 499afd5e234ce2ae18229d6fc8caba8c7ffc1813..b95120eadcf8ed95da5ed12a101bca353d8e1643 100644 (file)
@@ -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();
 }