Fix usage of BIO_ctrl_set_connected
[openssl.git] / apps / s_client.c
index 9bad1b51cf06bdc51efcf9a3e446198a7d4ba3ce..fc0174f2c290b38fa8467756242d05dba31972be 100644 (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;