diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-05-01 01:13:25 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-01 01:42:37 +0200 |
commit | 97f4d3083b036ce3e68d6346a6140a22123d5864 (patch) | |
tree | 301c95453934721eca9855cd01b1d0da089e3246 /compat.c | |
parent | upstream commit (diff) | |
download | openssh-97f4d3083b036ce3e68d6346a6140a22123d5864.tar.xz openssh-97f4d3083b036ce3e68d6346a6140a22123d5864.zip |
upstream commit
remove compat20/compat13/compat15 variables
ok markus@
Upstream-ID: 43802c035ceb3fef6c50c400e4ecabf12354691c
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: compat.c,v 1.102 2017/04/30 23:11:45 djm Exp $ */ +/* $OpenBSD: compat.c,v 1.103 2017/04/30 23:13:25 djm Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -39,24 +39,8 @@ #include "match.h" #include "kex.h" -int compat13 = 0; -int compat20 = 0; int datafellows = 0; -void -enable_compat20(void) -{ - if (compat20) - return; - debug("Enabling compatibility mode for protocol 2.0"); - compat20 = 1; -} -void -enable_compat13(void) -{ - debug("Enabling compatibility mode for protocol 1.3"); - compat13 = 1; -} /* datafellows bug compatibility */ u_int compat_datafellows(const char *version) |