diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-01-27 09:26:53 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-01-27 20:28:25 +1100 |
commit | 4ca6a1fac328477c642329676d6469dba59019a3 (patch) | |
tree | ac76df599462722785b86d21f2a82f5b7fc8888a /clientloop.c | |
parent | bba229b6f3328171f5e3ae85de443002523c0452 (diff) |
upstream: remove global variable used to stash compat flags and use the
purpose-built ssh->compat variable instead; feedback/ok markus@
OpenBSD-Commit-ID: 7c4f200e112dae6bcf99f5bae1a5629288378a06
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index 63ba59f0..148e87c9 100644 --- a/clientloop.c +++ b/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.356 2020/12/20 23:36:51 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.357 2021/01/27 09:26:54 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1024,7 +1024,7 @@ process_escapes(struct ssh *ssh, Channel *c, continue; case 'R': - if (datafellows & SSH_BUG_NOREKEY) + if (ssh->compat & SSH_BUG_NOREKEY) logit("Server does not " "support re-keying"); else |