summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 21:09:18 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 21:09:18 +0000
commit80c6d77085d7869f07850e40f0e96d4e392d0bf4 (patch)
tree4947325dd863fa33c2a3599964edc39a09f770ad /sshconnect.c
parent4c247550aec813ec389415c8d9f41ed1a9c0339a (diff)
- markus@cvs.openbsd.org 2001/05/28 23:58:35
[packet.c packet.h sshconnect.c sshd.c] remove some lines, simplify.
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,