diff options
-rw-r--r-- | sshconnect.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c index 28fd62104..0af5f55bc 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.277 2017/04/30 23:18:44 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.278 2017/05/01 02:27:11 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -544,7 +544,6 @@ ssh_exchange_identification(int timeout_ms) | |||
544 | int remote_major, remote_minor, mismatch; | 544 | int remote_major, remote_minor, mismatch; |
545 | int connection_in = packet_get_connection_in(); | 545 | int connection_in = packet_get_connection_in(); |
546 | int connection_out = packet_get_connection_out(); | 546 | int connection_out = packet_get_connection_out(); |
547 | int client_banner_sent = 0; | ||
548 | u_int i, n; | 547 | u_int i, n; |
549 | size_t len; | 548 | size_t len; |
550 | int fdsetsz, remaining, rc; | 549 | int fdsetsz, remaining, rc; |
@@ -555,7 +554,6 @@ ssh_exchange_identification(int timeout_ms) | |||
555 | fdset = xcalloc(1, fdsetsz); | 554 | fdset = xcalloc(1, fdsetsz); |
556 | 555 | ||
557 | send_client_banner(connection_out, 0); | 556 | send_client_banner(connection_out, 0); |
558 | client_banner_sent = 1; | ||
559 | 557 | ||
560 | /* Read other side's version identification. */ | 558 | /* Read other side's version identification. */ |
561 | remaining = timeout_ms; | 559 | remaining = timeout_ms; |