summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-16 22:35:32 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-16 22:35:32 +0800
commit83b2c899f52821989c147a45aa9bc82db9ab0185 (patch)
treeb7d7e455c23ceec8c5a31b8bc88127a0b16a20f8 /sysoptions.h
parenteb7ca203791f0b152227e8abb65f5109b7719f56 (diff)
increase min DSS and RSA lengths
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysoptions.h b/sysoptions.h
index 441e3a1..63e5515 100644
--- a/sysoptions.h
+++ b/sysoptions.h
@@ -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 */