aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-31 11:36:31 -0400
committerNick Mathewson <nickm@torproject.org>2014-10-31 11:36:31 -0400
commitefd5001c3b94c633850d7ae9b9f5b6e1ee45ab4e (patch)
tree5dcbf61772b6846a03f8b12315e97f25b195bcf9 /changes
parentdc05b8549a73064337020eb3f0d8d91c8149518a (diff)
downloadtor-efd5001c3b94c633850d7ae9b9f5b6e1ee45ab4e.tar.gz
tor-efd5001c3b94c633850d7ae9b9f5b6e1ee45ab4e.zip
Use digest256_len in networkstatus_copy_old_consensus_info()
Now, if a router ever changes its microdescriptor, but the new microdescriptor SHA256 hash has the same 160-bit prefix as the old one, we treat it as a new microdescriptor when deciding whether to copy status information. (This function also is used to compare SHA1 digests of router descriptors, but don't worry: the descriptor_digest field either holds a SHA256 hash, or a SHA1 hash padded with 0 bytes.)
Diffstat (limited to 'changes')
-rw-r--r--changes/bug133995
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug13399 b/changes/bug13399
index bbd0b2376b..fcaf58a53c 100644
--- a/changes/bug13399
+++ b/changes/bug13399
@@ -5,3 +5,8 @@
the same first 160 bits. Fixes part of bug 13399; bugfix on
0.2.3.1-alpha.
+ - Reset a router's status if its microdescriptor digest changes,
+ even if the first 160 bits remain the same. Fixes part of bug
+ 13399; bugfix on 0.2.3.1-alpha.
+
+