summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2022-06-30 16:10:56 -0400
committerMicah Elizabeth Scott <beth@torproject.org>2023-05-10 07:37:11 -0700
commit4571faf0c343e3224c0113225eca14e3eacde7b2 (patch)
tree8c434d99b70b770b5b8f9699f7f95e58a6d1f5b7 /src/test
parent047f8c63ee6793bee1f0db292e4041c31d23ca85 (diff)
downloadtor-4571faf0c343e3224c0113225eca14e3eacde7b2.tar.gz
tor-4571faf0c343e3224c0113225eca14e3eacde7b2.zip
pass time around as a parameter
should help with unit testing
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_hs_service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c
index eb905714c1..dc60c7ca29 100644
--- a/src/test/test_hs_service.c
+++ b/src/test/test_hs_service.c
@@ -2281,12 +2281,14 @@ static void
mock_launch_rendezvous_point_circuit(const hs_service_t *service,
const ed25519_public_key_t *ip_auth_pubkey,
const curve25519_keypair_t *ip_enc_key_kp,
- const hs_cell_intro_rdv_data_t *rdv_data)
+ const hs_cell_intro_rdv_data_t *rdv_data,
+ time_t now)
{
(void) service;
(void) ip_auth_pubkey;
(void) ip_enc_key_kp;
(void) rdv_data;
+ (void) now;
return;
}