summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-17 13:16:36 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-17 13:16:36 -0400
commit49ff09aef27d2883b77008be56c29def2a6a8dff (patch)
treeae54aa84f438de61c9ab1488fe3f0b0f63a873e1 /src
parent8acfac7375e7a0692193434704984d7eb507faf1 (diff)
downloadtor-49ff09aef27d2883b77008be56c29def2a6a8dff.tar.gz
tor-49ff09aef27d2883b77008be56c29def2a6a8dff.zip
Fix another, more subtle, case of bug 17150.
We need to make sure that the corresponding sd and ei match in their certificates.
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 9b3b79444f..f75ec11aca 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4949,7 +4949,7 @@ routerinfo_incompatible_with_extrainfo(const routerinfo_t *ri,
goto err; /* different servers */
}
- if (! tor_cert_opt_eq(ri->signing_key_cert, ei->signing_key_cert)) {
+ if (! tor_cert_opt_eq(sd->signing_key_cert, ei->signing_key_cert)) {
if (msg) *msg = "Extrainfo signing key cert didn't match routerinfo";
goto err; /* different servers */
}