瀏覽代碼

Oops; that function got renamed.

Nick Mathewson 14 年之前
父節點
當前提交
2e07925a52
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/routerparse.c

+ 1 - 1
src/or/routerparse.c

@@ -4336,7 +4336,7 @@ microdescs_parse_from_string(const char *s, const char *eos,
     }
 
     tok = find_by_keyword(tokens, K_ONION_KEY);
-    if (!crypto_pk_check_key_public_exponent(tok->key)) {
+    if (!crypto_pk_public_exponent_ok(tok->key)) {
       log_warn(LD_DIR,
                "Relay's onion key had invalid exponent.");
       goto next;