[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Thu Apr 7 11:36:03 UTC 2016


The branch master has been updated
       via  2d5a82570ab424bcf2a738d05055eeb0b089b33a (commit)
      from  e9c2b100141631d614fe32cc1955a985c817286c (commit)


- Log -----------------------------------------------------------------
commit 2d5a82570ab424bcf2a738d05055eeb0b089b33a
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Apr 7 13:03:29 2016 +0200

    Better use BIO_snprintf() than snprintf(), in case the later isn't available
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 test/ssl_test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/ssl_test.c b/test/ssl_test.c
index 499afd5..b95120e 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();
 }
 


More information about the openssl-commits mailing list