瀏覽代碼

Normal relays should generate dynamic DH moduli as well.

George Kadianakis 14 年之前
父節點
當前提交
fa013e1bc5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/config.c

+ 1 - 1
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");