[tor-commits] [tor/master] Normal relays should generate dynamic DH moduli as well.

nickm at torproject.org nickm at torproject.org
Tue Nov 29 23:33:59 UTC 2011


commit fa013e1bc520e116fa63729041e00546d6787dd8
Author: George Kadianakis <desnacked at gmail.com>
Date:   Sat Nov 26 05:57:17 2011 +0100

    Normal relays should generate dynamic DH moduli as well.
---
 src/or/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index f8c4ab3..9c65861 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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");





More information about the tor-commits mailing list