diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-02-02 17:12:45 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2016-02-12 14:09:26 +0100 |
commit | a76265574398944d686d2d0de9bacca162f555ca (patch) | |
tree | e1c3f6030333197534147157bf56423b8fedc749 /apps | |
parent | 04f171c09624cd2e9c00152a30cb22637c694ac1 (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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c index 3ced1706f0..66bcabcdac 100644 --- a/apps/req.c +++ b/apps/req.c @@ -89,8 +89,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 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *dn, int mutlirdn, int attribs, unsigned long chtype); |