diff options
author | Suphanat Chunhapanya <haxx.pop@gmail.com> | 2018-05-16 21:57:24 +0700 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-09-07 14:02:43 -0400 |
commit | b61403c7870b9ee289fe61e2f2349a8d49a8d37a (patch) | |
tree | ec0c0a42169d12b1cded594fcf111757f0c44ee5 /src/feature/hs/hs_service.h | |
parent | 8f64931d67df2f4b6811b0244bef8d1ea04d8330 (diff) | |
download | tor-b61403c7870b9ee289fe61e2f2349a8d49a8d37a.tar.gz tor-b61403c7870b9ee289fe61e2f2349a8d49a8d37a.zip |
test: HS v3 client auth is config equal function
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_service.h')
-rw-r--r-- | src/feature/hs/hs_service.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h index f1b98b8058..735266071f 100644 --- a/src/feature/hs/hs_service.h +++ b/src/feature/hs/hs_service.h @@ -399,6 +399,12 @@ STATIC void service_desc_schedule_upload(hs_service_descriptor_t *desc, STATIC int service_desc_hsdirs_changed(const hs_service_t *service, const hs_service_descriptor_t *desc); +STATIC int service_authorized_client_config_equal( + const hs_service_config_t *config1, + const hs_service_config_t *config2); + +STATIC void service_clear_config(hs_service_config_t *config); + #endif /* defined(HS_SERVICE_PRIVATE) */ #endif /* !defined(TOR_HS_SERVICE_H) */ |