aboutsummaryrefslogtreecommitdiff
path: root/src/or/circpathbias.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-14 12:48:18 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:52 -0500
commit62477906e9b5a378bcdd7b4588253ee422ccbb9f (patch)
tree1e145ea8021ba6ea6ca61f49361bc0e7fdf13523 /src/or/circpathbias.c
parent823357dbe4874e9726749f1d9d16d85fab949ee5 (diff)
downloadtor-62477906e9b5a378bcdd7b4588253ee422ccbb9f.tar.gz
tor-62477906e9b5a378bcdd7b4588253ee422ccbb9f.zip
Fix remaining case of circpathbias inspecting entryguard internals
Diffstat (limited to 'src/or/circpathbias.c')
-rw-r--r--src/or/circpathbias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circpathbias.c b/src/or/circpathbias.c
index a2e1641d1d..7a9af82dd4 100644
--- a/src/or/circpathbias.c
+++ b/src/or/circpathbias.c
@@ -1175,7 +1175,7 @@ pathbias_count_circs_in_states(entry_guard_t *guard,
if (ocirc->path_state >= from &&
ocirc->path_state <= to &&
pathbias_should_count(ocirc) &&
- fast_memeq(guard->identity,
+ fast_memeq(entry_guard_get_rsa_id_digest(guard),
ocirc->cpath->extend_info->identity_digest,
DIGEST_LEN)) {
log_debug(LD_CIRC, "Found opened circuit %d in path_state %s",