mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
modules/s_keys: Disable dhparam generation here.
This commit is contained in:
parent
a4bb471cf7
commit
72f77b6d22
1 changed files with 7 additions and 5 deletions
|
@ -85,11 +85,6 @@ init_my_tls_crt()
|
|||
fs::make_path(public_key_path_parts)
|
||||
};
|
||||
|
||||
const std::string dhparam_file
|
||||
{
|
||||
fs::make_path(dhparam_path_parts)
|
||||
};
|
||||
|
||||
const std::string cert_file
|
||||
{
|
||||
fs::make_path(certificate_path_parts)
|
||||
|
@ -106,6 +101,12 @@ init_my_tls_crt()
|
|||
openssl::genrsa(private_key_file, public_key_file);
|
||||
}
|
||||
|
||||
/*
|
||||
const std::string dhparam_file
|
||||
{
|
||||
fs::make_path(dhparam_path_parts)
|
||||
};
|
||||
|
||||
if(!fs::exists(dhparam_file))
|
||||
{
|
||||
log::warning
|
||||
|
@ -117,6 +118,7 @@ init_my_tls_crt()
|
|||
|
||||
openssl::gendh(dhparam_file);
|
||||
}
|
||||
*/
|
||||
|
||||
const json::object config{};
|
||||
if(!fs::exists(cert_file))
|
||||
|
|
Loading…
Reference in a new issue