diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2024-02-21 05:57:35 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2024-02-21 05:57:35 +0000 |
commit | 0ebb8dd04301b4c78cf52d6bff36c529a6fb174c (patch) | |
tree | 3a82b487dbfb9586df5251bfd1be07cbc5f27087 /usr.bin | |
parent | fac15842c551f05f7f0979e985d508bcde044a9b (diff) |
fix proxy multiplexing mode, broken when keystroke timing
obfuscation was added. GHPR#463 from montag451
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 6fa70cb7c33..31eaa9500f1 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.402 2023/11/24 00:31:30 dtucker Exp $ */ +/* $OpenBSD: clientloop.c,v 1.403 2024/02/21 05:57:34 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -508,7 +508,7 @@ send_chaff(struct ssh *ssh) { int r; - if ((ssh->kex->flags & KEX_HAS_PING) == 0) + if (ssh->kex == NULL || (ssh->kex->flags & KEX_HAS_PING) == 0) return 0; /* XXX probabilistically send chaff? */ /* |