summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-17 19:45:05 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-17 19:45:05 -0400
commit2e07925a5285fd50626e853c48ab5b79eec8e933 (patch)
tree2634e4beb2ac525fb530389ab2804ac4842cc1ad /src/or/routerparse.c
parent480a75cbbd8067b32b2954303ca69401bfee58d9 (diff)
downloadtor-2e07925a5285fd50626e853c48ab5b79eec8e933.tar.gz
tor-2e07925a5285fd50626e853c48ab5b79eec8e933.zip
Oops; that function got renamed.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 57436f75e0..ce98a47b67 100644
--- a/src/or/routerparse.c
+++ b/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;