increase min DSS and RSA lengths

This commit is contained in:
Matt Johnston 2017-06-16 22:35:32 +08:00
parent eb7ca20379
commit 83b2c899f5

View File

@ -40,10 +40,10 @@
/* Minimum key sizes for DSS and RSA */ /* Minimum key sizes for DSS and RSA */
#ifndef MIN_DSS_KEYLEN #ifndef MIN_DSS_KEYLEN
#define MIN_DSS_KEYLEN 512 #define MIN_DSS_KEYLEN 1024
#endif #endif
#ifndef MIN_RSA_KEYLEN #ifndef MIN_RSA_KEYLEN
#define MIN_RSA_KEYLEN 512 #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 2000 /* this is 25*80 chars, any more is foolish */