comparison sysoptions.h @ 977:cfac45421ba0

increae MAX_STRING_LEN for sun ssh
author Matt Johnston <matt@ucc.asn.au>
date Thu, 23 Oct 2014 20:50:06 +0800
parents 0bb16232e7c4
children 735511a4c761
comparison
equal deleted inserted replaced
976:964d41e3aeb2 977:cfac45421ba0
151 #define MAX_RECV_WINDOW (1024*1024) /* 1 MB should be enough */ 151 #define MAX_RECV_WINDOW (1024*1024) /* 1 MB should be enough */
152 152
153 #define MAX_CHANNELS 100 /* simple mem restriction, includes each tcp/x11 153 #define MAX_CHANNELS 100 /* simple mem restriction, includes each tcp/x11
154 connection, so can't be _too_ small */ 154 connection, so can't be _too_ small */
155 155
156 #define MAX_STRING_LEN 1400 /* ~= MAX_PROPOSED_ALGO * MAX_NAME_LEN, also 156 #define MAX_STRING_LEN 2400 /* Sun SSH needs this long for algos */
157 is the max length for a password etc */
158 157
159 /* For a 4096 bit DSS key, empirically determined */ 158 /* For a 4096 bit DSS key, empirically determined */
160 #define MAX_PUBKEY_SIZE 1700 159 #define MAX_PUBKEY_SIZE 1700
161 /* For a 4096 bit DSS key, empirically determined */ 160 /* For a 4096 bit DSS key, empirically determined */
162 #define MAX_PRIVKEY_SIZE 1700 161 #define MAX_PRIVKEY_SIZE 1700