diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-14 12:48:18 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 62477906e9b5a378bcdd7b4588253ee422ccbb9f (patch) | |
tree | 1e145ea8021ba6ea6ca61f49361bc0e7fdf13523 /src/or/entrynodes.c | |
parent | 823357dbe4874e9726749f1d9d16d85fab949ee5 (diff) | |
download | tor-62477906e9b5a378bcdd7b4588253ee422ccbb9f.tar.gz tor-62477906e9b5a378bcdd7b4588253ee422ccbb9f.zip |
Fix remaining case of circpathbias inspecting entryguard internals
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r-- | src/or/entrynodes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 32d198a8c3..1324e31789 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -177,6 +177,13 @@ entry_guard_describe(const entry_guard_t *guard) return buf; } +/** Return <b>guard</b>'s 20-byte RSA identity digest */ +const char * +entry_guard_get_rsa_id_digest(const entry_guard_t *guard) +{ + return guard->identity; +} + /** Check whether the entry guard <b>e</b> is usable, given the directory * authorities' opinion about the router (stored in <b>ri</b>) and the user's * configuration (in <b>options</b>). Set <b>e</b>->bad_since |