소스 검색

Merge branch 'maint-0.3.4'

Nick Mathewson 7 년 전
부모
커밋
3c49019016
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/app/config/config.c

+ 2 - 0
src/app/config/config.c

@@ -3545,12 +3545,14 @@ options_validate(or_options_t *old_options, or_options_t *options,
       REJECT("Versioning authoritative dir servers must set "
              "Recommended*Versions.");
 
+#ifdef HAVE_MODULE_DIRAUTH
     char *t;
     /* Call these functions to produce warnings only. */
     t = format_recommended_version_list(options->RecommendedClientVersions, 1);
     tor_free(t);
     t = format_recommended_version_list(options->RecommendedServerVersions, 1);
     tor_free(t);
+#endif
 
     if (options->UseEntryGuards) {
       log_info(LD_CONFIG, "Authoritative directory servers can't set "