summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 3397d6c06..fc7920ee8 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15#include "includes.h" 15#include "includes.h"
16RCSID("$OpenBSD: sshconnect.c,v 1.105 2001/04/30 11:18:52 markus Exp $"); 16RCSID("$OpenBSD: sshconnect.c,v 1.106 2001/05/28 23:58:35 markus Exp $");
17 17
18#include <openssl/bn.h> 18#include <openssl/bn.h>
19 19
@@ -430,8 +430,6 @@ ssh_exchange_identification(void)
430 fatal("Protocol major versions differ: %d vs. %d", 430 fatal("Protocol major versions differ: %d vs. %d",
431 (options.protocol & SSH_PROTO_2) ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, 431 (options.protocol & SSH_PROTO_2) ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1,
432 remote_major); 432 remote_major);
433 if (compat20)
434 packet_set_ssh2_format();
435 /* Send our own protocol version identification. */ 433 /* Send our own protocol version identification. */
436 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", 434 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n",
437 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, 435 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1,