tor/src
Mike Perry b733044f7a
Bug #29500: Fix monotime mocking in circpad unittests.
Our monotime mocking forces us to call monotime_init() *before* we set the
mocked time value. monotime_init() thus stores the first ratchet value at
whatever the platform is at, and then we set fake mocked time to some later
value.

If monotime_init() gets a value from the host that is greater than what we
choose to mock time at for our unittests, all subsequent monotime_abosolute()
calls return zero, which breaks all unittests that depend on time moving
forward by updating mocked monotime values.

So, we need to adjust our mocked time to take the weird monotime_init() time
into account, when we set fake time.
2019-04-05 12:15:55 +10:00
..
app Merge remote-tracking branch 'tor-github/pr/726' into maint-0.4.0 2019-02-26 07:27:42 -05:00
config Merge branch 'maint-0.3.5' into maint-0.4.0 2019-04-03 09:27:44 -04:00
core Add connection_dir_buf_add() helper function 2019-03-29 17:25:43 +10:00
ext Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
feature Merge branch 'bug29959_040_squashed' into maint-0.4.0 2019-04-04 20:26:47 -04:00
lib Pass NULL to lpApplicationName in CreateProcessA(). 2019-03-25 03:10:37 +01:00
rust protover: Add missing Padding to translate_to_rust 2019-03-05 12:33:43 -05:00
test Bug #29500: Fix monotime mocking in circpad unittests. 2019-04-05 12:15:55 +10:00
tools Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
trunnel Add padding negotiation trunnel output. 2019-01-02 15:12:20 +02:00
win32 Bump to 0.4.0.3-alpha-dev 2019-03-23 08:44:36 -04:00
include.am Move buffers.c out of lib/containers to resolve a circularity. 2018-11-14 16:07:03 -05:00