]> git.ipfire.org Git - thirdparty/tor.git/commit
Never vote for an ed key twice.
authorNick Mathewson <nickm@torproject.org>
Mon, 22 Feb 2016 16:43:59 +0000 (11:43 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 21 Mar 2016 17:23:32 +0000 (13:23 -0400)
commit13a31e72db1b009623aa55bd52ffe7390a22623d
tree85eb1d196ffa02c586ef80bebd00fa1facdf57eb
parentc20e34e1894bed07982fe64d60a1b3fe9403d269
Never vote for an ed key twice.

When generating a vote, and we have two routerinfos with the same ed
key, omit the one published earlier.

This was supposed to have been solved by key pinning, but when I
made key pinning optional, I didn't realize that this would jump up
and bite us.  It is part of bug 18318, and the root cause of 17668.
changes/bug18318_ed [new file with mode: 0644]
src/or/dirserv.c
src/or/or.h