瀏覽代碼

Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.

svn:r16980
Nick Mathewson 17 年之前
父節點
當前提交
283b95e463
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/or/test.c

+ 1 - 0
src/or/test.c

@@ -2769,6 +2769,7 @@ test_dir_format(void)
   strlcat(buf2, pk1_str, sizeof(buf2));
   strlcat(buf2, "signing-key\n", sizeof(buf2));
   strlcat(buf2, pk2_str, sizeof(buf2));
+  strlcat(buf2, "opt hidden-service-dir\n", sizeof(buf2));
   strlcat(buf2, "reject *:*\nrouter-signature\n", sizeof(buf2));
   buf[strlen(buf2)] = '\0'; /* Don't compare the sig; it's never the same
                              * twice */