summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2015-01-19 20:20:20 +0000
committermarkus <markus@openbsd.org>2015-01-19 20:20:20 +0000
commite043196b2aeed74de43359cd60b8a28b3d9e82ec (patch)
treef5a91fff7d174e376cf9610c2d622da73b917b70 /usr.bin/ssh/sshconnect.c
parentOops, missed the new #include when manually applying the diff from (diff)
downloadwireguard-openbsd-e043196b2aeed74de43359cd60b8a28b3d9e82ec.tar.xz
wireguard-openbsd-e043196b2aeed74de43359cd60b8a28b3d9e82ec.zip
store compat flags in struct ssh; ok djm@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 7aa789fdfc3..725c01301c9 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.254 2014/12/21 22:27:56 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.255 2015/01/19 20:20:20 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -618,7 +618,7 @@ ssh_exchange_identification(int timeout_ms)
debug("Remote protocol version %d.%d, remote software version %.100s",
remote_major, remote_minor, remote_version);
- compat_datafellows(remote_version);
+ active_state->compat = compat_datafellows(remote_version);
mismatch = 0;
switch (remote_major) {