Mercurial > dropbear
comparison sysoptions.h @ 1753:7c0fcd19e492
Increase MAX_PROPOSED_ALGO to 50, warn if exceeded
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 23 Oct 2020 20:53:58 +0800 |
parents | 73646de50f13 |
children | 4b984c42372d |
comparison
equal
deleted
inserted
replaced
1752:36e77a51d5e4 | 1753:7c0fcd19e492 |
---|---|
174 | 174 |
175 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't | 175 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't |
176 explicitly specified for all protocols (just | 176 explicitly specified for all protocols (just |
177 for algos) but seems valid */ | 177 for algos) but seems valid */ |
178 | 178 |
179 #define MAX_PROPOSED_ALGO 20 | 179 #define MAX_PROPOSED_ALGO 50 |
180 | 180 |
181 /* size/count limits */ | 181 /* size/count limits */ |
182 /* From transport rfc */ | 182 /* From transport rfc */ |
183 #define MIN_PACKET_LEN 16 | 183 #define MIN_PACKET_LEN 16 |
184 | 184 |