TLS: Increase RSA keysize of autogen selfsign cert
[exim.git] / src / src / tls-openssl.c
index 3299c2046711f6cd1301465aad0f18ac7107dae7..cd11f65df5d27af7a215f26549dc22e4c5a1da45 100644 (file)
@@ -1174,7 +1174,7 @@ if (!(x509 = X509_new()))
   goto err;
 
 where = US"generating pkey";
-if (!(rsa = rsa_callback(NULL, 0, 1024)))
+if (!(rsa = rsa_callback(NULL, 0, 2048)))
   goto err;
 
 where = US"assigning pkey";