aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-17 12:57:03 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-17 12:57:03 -0400
commit7d1eb0d57086c9630f7797916d9d2c948117a7e1 (patch)
tree79c1ee205ae3f4ace9f00a55307b6e076344863e /changes
parent44da47d3c1e4809d5aaf91cd708c6f02b01a5396 (diff)
downloadtor-7d1eb0d57086c9630f7797916d9d2c948117a7e1.tar.gz
tor-7d1eb0d57086c9630f7797916d9d2c948117a7e1.zip
When making sure digest256 matches in ei, look at sd, not ri.
The routerinfo we pass to routerinfo_incompatible_with_extrainfo is the latest routerinfo for the relay. The signed_descriptor_t, on the other hand, is the signed_descriptor_t that corresponds to the extrainfo. That means we should be checking the digest256 match with that signed_descriptor_t, not with the routerinfo. Fixes bug 17150 (and 19017); bugfix on 0.2.7.2-alpha.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug171506
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug17150 b/changes/bug17150
new file mode 100644
index 0000000000..3fb78213d9
--- /dev/null
+++ b/changes/bug17150
@@ -0,0 +1,6 @@
+ o Minor bugfixes (directory warnings):
+ - When fetching extrainfo documents, compare their SHA256 digests
+ with the routerinfo that led us to fetch them, rather than
+ with the most recent routerinfo. Otherwise we generate many
+ spurious warnings about mismatches. Fixes bug 17150; bugfix
+ on 0.2.7.2-alpha.