From: Richard Levitte Date: Mon, 2 Nov 2015 20:18:34 +0000 (+0100) Subject: Fix usage of BIO_ctrl_set_connected X-Git-Tag: OpenSSL_1_1_0-pre1~308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c9be7d09f4566f7fb78d168acd5038dd4384ca5;p=openssl Fix usage of BIO_ctrl_set_connected Reviewed-by: Rich Salz --- diff --git a/apps/s_client.c b/apps/s_client.c index 9bad1b51cf..fc0174f2c2 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1379,7 +1379,7 @@ int s_client_main(int argc, char **argv) goto end; } - (void)BIO_ctrl_set_connected(sbio, 1, &peer); + (void)BIO_ctrl_set_connected(sbio, &peer); if (enable_timeouts) { timeout.tv_sec = 0;