summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh_api.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2017-04-30 23:13:25 +0000
committerdjm <djm@openbsd.org>2017-04-30 23:13:25 +0000
commitf1cc710a366b47da6f96be2110292f8cd0933e7e (patch)
tree31850285c3849ea2e73103d90c462de9a912986c /usr.bin/ssh/ssh_api.c
parentremove options.protocol and client Protocol configuration knob (diff)
downloadwireguard-openbsd-f1cc710a366b47da6f96be2110292f8cd0933e7e.tar.xz
wireguard-openbsd-f1cc710a366b47da6f96be2110292f8cd0933e7e.zip
remove compat20/compat13/compat15 variables
ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh_api.c')
-rw-r--r--usr.bin/ssh/ssh_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh_api.c b/usr.bin/ssh/ssh_api.c
index 232c23a32d5..173d6320802 100644
--- a/usr.bin/ssh/ssh_api.c
+++ b/usr.bin/ssh/ssh_api.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh_api.c,v 1.7 2016/05/04 14:22:33 markus Exp $ */
+/* $OpenBSD: ssh_api.c,v 1.8 2017/04/30 23:13:25 djm Exp $ */
/*
* Copyright (c) 2012 Markus Friedl. All rights reserved.
*
@@ -363,7 +363,6 @@ _ssh_read_banner(struct ssh *ssh, char **bannerp)
}
if (remote_major != 2)
return SSH_ERR_PROTOCOL_MISMATCH;
- enable_compat20();
chop(buf);
debug("Remote version string %.100s", buf);
if ((*bannerp = strdup(buf)) == NULL)