Fix a spec conformance issue when parsing a ns vote
commitc1a6fb42ac08ab7ab729edca1837401d0f117fd1
authorSebastian Hahn <sebastian@torproject.org>
Sun, 13 Sep 2009 19:47:55 +0000 (13 21:47 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Mon, 14 Sep 2009 20:06:21 +0000 (14 22:06 +0200)
treef978a0fba54e4ed2420ac6e417cbfdfda5aaf972
parent3de5ac9baa7dc12f5bc441d75a8be48995e0f3a8
Fix a spec conformance issue when parsing a ns vote

A vote may only contain exactly one signature. Make sure we reject
votes that violate this.

Problem found by Rotor, who also helped writing the patch. Thanks!
ChangeLog
src/or/routerparse.c