mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Normal relays should generate dynamic DH moduli as well.
This commit is contained in:
parent
e3cee8bc2e
commit
fa013e1bc5
@ -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…
Reference in New Issue
Block a user