diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2018-02-16 04:43:11 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-16 23:25:48 +1100 |
commit | 8570177195f6a4b3173c0a25484a83641ee3faa6 (patch) | |
tree | 78df7e06034432fcb912b5c9e5f01a6a304a8890 /compat.h | |
parent | f6dc2ba3c9d12be53057b9371f5109ec553a399f (diff) |
upstream: Don't send IUTF8 to servers that don't like them.
Some SSH servers eg "ConfD" drop the connection if the client sends the
new IUTF8 (RFC8160) terminal mode even if it's not set. Add a bug bit
for such servers and avoid sending IUTF8 to them. ok djm@
OpenBSD-Commit-ID: 26425855402d870c3c0a90491e72e2a8a342ceda
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: compat.h,v 1.50 2018/01/23 05:27:21 djm Exp $ */ | 1 | /* $OpenBSD: compat.h,v 1.51 2018/02/16 04:43:11 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved. |
@@ -32,7 +32,7 @@ | |||
32 | #define SSH_PROTO_1_PREFERRED 0x02 | 32 | #define SSH_PROTO_1_PREFERRED 0x02 |
33 | #define SSH_PROTO_2 0x04 | 33 | #define SSH_PROTO_2 0x04 |
34 | 34 | ||
35 | /* #define unused 0x00000001 */ | 35 | #define SSH_BUG_UTF8TTYMODE 0x00000001 |
36 | /* #define unused 0x00000002 */ | 36 | /* #define unused 0x00000002 */ |
37 | /* #define unused 0x00000004 */ | 37 | /* #define unused 0x00000004 */ |
38 | /* #define unused 0x00000008 */ | 38 | /* #define unused 0x00000008 */ |