Mercurial > dropbear
changeset 1832:a974a80f5f44
Banner size should account for newlines
author | Matt Johnston <matt@codeconstruct.com.au> |
---|---|
date | Tue, 12 Oct 2021 21:29:42 +0800 |
parents | 0a3d02c66bf6 |
children | 870f6e386a0b |
files | sysoptions.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sysoptions.h Tue Oct 12 21:29:25 2021 +0800 +++ b/sysoptions.h Tue Oct 12 21:29:42 2021 +0800 @@ -50,7 +50,7 @@ #define MIN_RSA_KEYLEN 1024 #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 */ /* the number of NAME=VALUE pairs to malloc for environ, if we don't have