Use digest256map for computing microdescriptor downloads

This commit is contained in:
Nick Mathewson
2014-10-31 11:32:32 -04:00
parent bac6d542c9
commit dc05b8549a
5 changed files with 45 additions and 32 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor bugfixes:
- Use a full 256 bits of the SHA256 digest of a microdescriptor when
computing which microdescriptors to download. This keeps us from
erroneous download behavior if two microdescriptor digests ever have
the same first 160 bits. Fixes part of bug 13399; bugfix on
0.2.3.1-alpha.