projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d53d4
)
Use BIO_snprintf() rather than snprintf()
author
Richard Levitte
<levitte@openssl.org>
Wed, 3 Feb 2016 21:41:14 +0000
(22:41 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 3 Feb 2016 21:41:14 +0000
(22:41 +0100)
Some platforms do not have the latter.
Reviewed-by: Matt Caswell <matt@openssl.org>
test/ssltest.c
patch
|
blob
|
history
diff --git
a/test/ssltest.c
b/test/ssltest.c
index 5d6700e97da9744ecfe435026ce9e38940018185..9cd2a53e5055c2f7be43be6c212cb0b86114c585 100644
(file)
--- 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);