diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2024-03-17 17:47:10 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2024-03-17 17:47:10 +0000 |
| commit | 9200ce3210fdc00706904d2eb2d8a481ed84eef3 (patch) | |
| tree | 44c20fef4e888723daa2d0c91e8e91f1e6dc8a08 /clientloop.c | |
| parent | 38f55691cb1b1029d9daac42fc5b6b1850eb19c3 (diff) | |
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 eb4902905fb1..8ec36af94b3f 100644 --- a/clientloop.c +++ b/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 @@ -517,7 +517,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? */ /* |
