Normal relays should generate dynamic DH moduli as well.

This commit is contained in:
George Kadianakis 2011-11-26 05:57:17 +01:00
parent e3cee8bc2e
commit fa013e1bc5

View File

@ -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");