summaryrefslogtreecommitdiff
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
commitf1a1a28895bed8165ef9b23780881e6ac88cae4c (patch)
tree3b6cc53d3489f8b6bd9b327b445af3a1908fa480 /sysoptions.h
parentd04b02b07412d6cd603d2c717f4667beedec82f1 (diff)
downloaddropbear-f1a1a28895bed8165ef9b23780881e6ac88cae4c.tar.gz
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 */