[openssl-commits] [openssl]  master update
    Richard Levitte 
    levitte at openssl.org
       
    Wed Feb  3 21:47:05 UTC 2016
    
    
  
The branch master has been updated
       via  6339ece1d80054ebb27dc1fafbe57a18d294b2c3 (commit)
      from  b7d53d411e6d3dcadf58e1e9ac1bfddd82cd3688 (commit)
- Log -----------------------------------------------------------------
commit 6339ece1d80054ebb27dc1fafbe57a18d294b2c3
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Feb 3 22:41:14 2016 +0100
    Use BIO_snprintf() rather than snprintf()
    
    Some platforms do not have the latter.
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
 test/ssltest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/ssltest.c b/test/ssltest.c
index 5d6700e..9cd2a53 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -1890,7 +1890,7 @@ int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, long count,
     if (BIO_do_accept(acpt) <= 0)
         goto err;
 
-    snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt));
+    BIO_snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt));
 
     client = BIO_new_connect(addr_str);
     BIO_set_conn_ip_family(client, family);
    
    
More information about the openssl-commits
mailing list