diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2018-02-16 04:43:12 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2018-02-16 04:43:12 +0000 |
commit | 40e2d95f4438534cf590196ea3b9ffac2793364a (patch) | |
tree | 0af4b2ed12fcff936a5bb993c4fb8d570da375d4 /usr.bin/ssh/compat.h | |
parent | 4d20004c4c5ebc69f26c4d65ab9430a33451ef2e (diff) |
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@
Diffstat (limited to 'usr.bin/ssh/compat.h')
-rw-r--r-- | usr.bin/ssh/compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/compat.h b/usr.bin/ssh/compat.h index 246e6ee4c20..4fee3495a5a 100644 --- a/usr.bin/ssh/compat.h +++ b/usr.bin/ssh/compat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: compat.h,v 1.50 2018/01/23 05:27:21 djm Exp $ */ +/* $OpenBSD: compat.h,v 1.51 2018/02/16 04:43:11 dtucker Exp $ */ /* * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved. @@ -32,7 +32,7 @@ #define SSH_PROTO_1_PREFERRED 0x02 #define SSH_PROTO_2 0x04 -/* #define unused 0x00000001 */ +#define SSH_BUG_UTF8TTYMODE 0x00000001 /* #define unused 0x00000002 */ /* #define unused 0x00000004 */ /* #define unused 0x00000008 */ |