Fix usage of BIO_ctrl_set_connected

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2015-11-02 21:18:34 +01:00
parent 009e9d99a3
commit 2c9be7d09f

View File

@ -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;