# HG changeset patch # User Matt Johnston # Date 1634045382 -28800 # Node ID a974a80f5f4419ed51ee97a8f6b044c72bc3604c # Parent 0a3d02c66bf6ca606ca8899e0e6958cdafac1069 Banner size should account for newlines diff -r 0a3d02c66bf6 -r a974a80f5f44 sysoptions.h --- 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