Improve API of routerinfo_incompatible_with_extrainfo()
commit00f74e0372a956f9db590e1cb2ddcfb265125023
authorNick Mathewson <nickm@torproject.org>
Tue, 17 May 2016 17:24:01 +0000 (17 13:24 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 May 2016 17:24:01 +0000 (17 13:24 -0400)
treeefd60c2de5ace1cf2106ab36550db7ed21957a88
parent49ff09aef27d2883b77008be56c29def2a6a8dff
Improve API of routerinfo_incompatible_with_extrainfo()

This API change makes it so that routerinfo_incompatible...() no
longer takes a routerinfo_t, so that it's obvious that it should
only look at fields from the signed_descriptor_t.

This change should prevent a recurrence of #17150.
src/or/dirserv.c
src/or/router.c
src/or/routerlist.c
src/or/routerlist.h