Fix usage of BIO_ctrl_set_connected
authorRichard Levitte <levitte@openssl.org>
Mon, 2 Nov 2015 20:18:34 +0000 (21:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 2 Nov 2015 20:18:34 +0000 (21:18 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/s_client.c

index 9bad1b51cf06bdc51efcf9a3e446198a7d4ba3ce..fc0174f2c290b38fa8467756242d05dba31972be 100644 (file)
@@ -1379,7 +1379,7 @@ int s_client_main(int argc, char **argv)
             goto end;
         }
 
             goto end;
         }
 
-        (void)BIO_ctrl_set_connected(sbio, 1, &peer);
+        (void)BIO_ctrl_set_connected(sbio, &peer);
 
         if (enable_timeouts) {
             timeout.tv_sec = 0;
 
         if (enable_timeouts) {
             timeout.tv_sec = 0;