prop250: Fix unit tests about the RSA fingerprint check
commitd43646e191dec6f800f63acb6a6861190b77d86f
authorDavid Goulet <dgoulet@torproject.org>
Thu, 12 May 2016 17:30:07 +0000 (12 13:30 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Fri, 1 Jul 2016 18:01:41 +0000 (1 14:01 -0400)
tree60d1e2797fff1d890c488c6ecabb302232144f2a
parentcd858d78a7d04fa64b9af3d602c435154acd284f
prop250: Fix unit tests about the RSA fingerprint check

Code has been changed so every RSA fingerprint for a commit in our state is
validated before being used. This fixes the unit tests by mocking one of the
key function and updating the hardcoded state string.

Also, fix a time parsing overflow on platforms with 32bit time_t

Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
src/or/routerlist.c
src/or/routerlist.h
src/test/test_shared_random.c