소스 검색

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