changeset 1419:7672b13c5367

increase min DSS and RSA lengths
author Matt Johnston <matt@ucc.asn.au>
date Fri, 16 Jun 2017 22:35:32 +0800
parents 92717c0fec39
children 950c6973f27b
files sysoptions.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sysoptions.h	Fri Jun 16 22:35:18 2017 +0800
+++ b/sysoptions.h	Fri Jun 16 22:35:32 2017 +0800
@@ -40,10 +40,10 @@
 
 /* Minimum key sizes for DSS and RSA */
 #ifndef MIN_DSS_KEYLEN
-#define MIN_DSS_KEYLEN 512
+#define MIN_DSS_KEYLEN 1024
 #endif
 #ifndef MIN_RSA_KEYLEN
-#define MIN_RSA_KEYLEN 512
+#define MIN_RSA_KEYLEN 1024
 #endif
 
 #define MAX_BANNER_SIZE 2000 /* this is 25*80 chars, any more is foolish */