diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-10-23 20:50:06 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-10-23 20:50:06 +0800 |
commit | 5e606a964b1a15b679deca1511821969cbc750d6 (patch) | |
tree | 4285e2bb6784a9edcee27bd8413cc19ef9ddbbe8 /sysoptions.h | |
parent | d88034434c068badaaa5dad7da2de143a6fa6e13 (diff) |
increae MAX_STRING_LEN for sun ssh
Diffstat (limited to 'sysoptions.h')
-rw-r--r-- | sysoptions.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysoptions.h b/sysoptions.h index d01b4ea..385a903 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -153,8 +153,7 @@ #define MAX_CHANNELS 100 /* simple mem restriction, includes each tcp/x11 connection, so can't be _too_ small */ -#define MAX_STRING_LEN 1400 /* ~= MAX_PROPOSED_ALGO * MAX_NAME_LEN, also - is the max length for a password etc */ +#define MAX_STRING_LEN 2400 /* Sun SSH needs this long for algos */ /* For a 4096 bit DSS key, empirically determined */ #define MAX_PUBKEY_SIZE 1700 |