]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix the position-check for ed25519 certs to work with annotations
authorNick Mathewson <nickm@torproject.org>
Wed, 8 Oct 2014 13:13:09 +0000 (09:13 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 28 May 2015 14:41:49 +0000 (10:41 -0400)
commit006b7ce5ff2a90a517e2842fcdd716ed60a90f14
tree80eb7ca264bc3b49e34e5fc29f0d2e2a55241438
parent592a43910706a67048c7d05e45d35dc79712820a
Fix the position-check for ed25519 certs to work with annotations

When there are annotations on a router descriptor, the
ed25519-identity element won't be at position 0 or 1; it will be at
router+1 or router-1.

This patch also adds a missing smartlist function to search a list for
an item with a particular pointer.
src/common/container.c
src/common/container.h
src/or/routerparse.c
src/test/test_containers.c