[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit fa013e1bc520e116fa63729041e00546d6787dd8
Author: George Kadianakis <desnacked@xxxxxxxxx>
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");



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits