mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Normal relays should generate dynamic DH moduli as well.
This commit is contained in:
parent
e3cee8bc2e
commit
fa013e1bc5
1 changed files with 1 additions and 1 deletions
|
@ -1381,7 +1381,7 @@ options_act(const or_options_t *old_options)
|
|||
}
|
||||
|
||||
/* If needed, generate a new TLS DH prime according to the current torrc. */
|
||||
if (server_mode(options) && options->BridgeRelay) {
|
||||
if (server_mode(options)) {
|
||||
if (!old_options) {
|
||||
if (options->DynamicDHGroups) {
|
||||
char *fname = get_datadir_fname2("keys", "dynamic_dh_modulus");
|
||||
|
|
Loading…
Add table
Reference in a new issue