Have tor_addr hashes return a randomized hash for AF_UNSPEC.
commit1555946e202fef523b35e169c90892b57caea766
authorNick Mathewson <nickm@torproject.org>
Mon, 12 Feb 2018 16:08:33 +0000 (12 11:08 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Mon, 12 Feb 2018 16:14:36 +0000 (12 11:14 -0500)
tree3b66c97844be18640d47ebe7fcb5704d34e39ba3
parent99fbbc6c478d346a469e61663a319c8cf03fec44
Have tor_addr hashes return a randomized hash for AF_UNSPEC.

We don't expect this to come up very much, but we may as well make
sure that the value isn't predictable (as we do for the other
addresses) in case the issue ever comes up.

Spotted by teor.
src/common/address.c