diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2019-04-13 12:32:48 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2019-05-21 16:58:42 +0200 |
commit | 0f283c9a665c5dc5cd2b89a3373da34f144ebd64 (patch) | |
tree | b8996b37e5d62bf9a1fcbcc1637585ac5616bb2c /crypto/dh/dh_pmeth.c | |
parent | cea83f9f7825309379db3fea77f19edf0c5b1e13 (diff) |
Change default RSA, DSA and DH size to 2048 bit
Fixes: #8737
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #8741
(cherry picked from commit 70b0b977f73cd70e17538af3095d18e0cf59132e)
Diffstat (limited to 'crypto/dh/dh_pmeth.c')
-rw-r--r-- | crypto/dh/dh_pmeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_pmeth.c b/crypto/dh/dh_pmeth.c index 162753af07..30777c8a5f 100644 --- a/crypto/dh/dh_pmeth.c +++ b/crypto/dh/dh_pmeth.c @@ -101,7 +101,7 @@ static int pkey_dh_init(EVP_PKEY_CTX *ctx) dctx = OPENSSL_malloc(sizeof(DH_PKEY_CTX)); if (!dctx) return 0; - dctx->prime_len = 1024; + dctx->prime_len = 2048; dctx->subprime_len = -1; dctx->generator = 2; dctx->use_dsa = 0; |