]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/dh/dh_pmeth.c
Change default RSA, DSA and DH size to 2048 bit
[thirdparty/openssl.git] / crypto / dh / dh_pmeth.c
index 349791529202000dfb1d6e07d34c9b2e7c448fec..f630fd3eea3e54c2a3385180afeda6f6d98a5288 100644 (file)
@@ -54,7 +54,7 @@ static int pkey_dh_init(EVP_PKEY_CTX *ctx)
         DHerr(DH_F_PKEY_DH_INIT, ERR_R_MALLOC_FAILURE);
         return 0;
     }
-    dctx->prime_len = 1024;
+    dctx->prime_len = 2048;
     dctx->subprime_len = -1;
     dctx->generator = 2;
     dctx->kdf_type = EVP_PKEY_DH_KDF_NONE;