[tor-commits] [tor/master] Oops; that function got renamed.

nickm at torproject.org nickm at torproject.org
Tue May 17 23:46:50 UTC 2011


commit 2e07925a5285fd50626e853c48ab5b79eec8e933
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue May 17 19:45:05 2011 -0400

    Oops; that function got renamed.
---
 src/or/routerparse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 57436f7..ce98a47 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;





More information about the tor-commits mailing list