mirror of
https://github.com/clearml/dropbear
synced 2025-05-15 09:05:52 +00:00
Banner size should account for newlines
This commit is contained in:
parent
3c2436cd05
commit
c08177a3af
@ -50,7 +50,7 @@
|
|||||||
#define MIN_RSA_KEYLEN 1024
|
#define MIN_RSA_KEYLEN 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAX_BANNER_SIZE 2000 /* this is 25*80 chars, any more is foolish */
|
#define MAX_BANNER_SIZE 2050 /* this is 25*80 chars, any more is foolish */
|
||||||
#define MAX_BANNER_LINES 20 /* How many lines the client will display */
|
#define MAX_BANNER_LINES 20 /* How many lines the client will display */
|
||||||
|
|
||||||
/* the number of NAME=VALUE pairs to malloc for environ, if we don't have
|
/* the number of NAME=VALUE pairs to malloc for environ, if we don't have
|
||||||
|
Loading…
Reference in New Issue
Block a user