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 9bad1b5..fc0174f 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;