mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Merge branch 'maint-0.3.3'
This commit is contained in:
commit
3716611fea
1 changed files with 3 additions and 1 deletions
|
@ -419,8 +419,10 @@ test_service_intro_point(void *arg)
|
||||||
* surprisingly slow... */
|
* surprisingly slow... */
|
||||||
tt_u64_op(ip->time_to_expire, OP_GE,
|
tt_u64_op(ip->time_to_expire, OP_GE,
|
||||||
now + INTRO_POINT_LIFETIME_MIN_SECONDS - 500);
|
now + INTRO_POINT_LIFETIME_MIN_SECONDS - 500);
|
||||||
|
/* We add 500 seconds, because this time we're testing against the
|
||||||
|
* maximum allowed time. */
|
||||||
tt_u64_op(ip->time_to_expire, OP_LE,
|
tt_u64_op(ip->time_to_expire, OP_LE,
|
||||||
now + INTRO_POINT_LIFETIME_MAX_SECONDS - 500);
|
now + INTRO_POINT_LIFETIME_MAX_SECONDS + 500);
|
||||||
tt_assert(ip->replay_cache);
|
tt_assert(ip->replay_cache);
|
||||||
tt_assert(ip->base.link_specifiers);
|
tt_assert(ip->base.link_specifiers);
|
||||||
/* By default, this is NOT a legacy object. */
|
/* By default, this is NOT a legacy object. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue