summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-02-02 17:12:45 +0100
committerEmilia Kasper <emilia@openssl.org>2016-02-12 14:17:57 +0100
commitb4b23d05d3282b0c155a1ab8435379306be43315 (patch)
tree1e5659417573bf3132eda6a0af239d8763e85468 /apps
parent10c639a8a56c90bec9e332c7ca76ef552b3952ac (diff)
RT 3854: Update apps/req
Change the default keysize to 2048 bits, and the minimum to 512 bits. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit a76265574398944d686d2d0de9bacca162f555ca)
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index 57781c93c4..e818bd2976 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -101,8 +101,8 @@
#define STRING_MASK "string_mask"
#define UTF8_IN "utf8"
-#define DEFAULT_KEY_LENGTH 512
-#define MIN_KEY_LENGTH 384
+#define DEFAULT_KEY_LENGTH 2048
+#define MIN_KEY_LENGTH 512
#undef PROG
#define PROG req_main