summaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_ob.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-01-09 15:18:32 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-21 10:31:29 -0500
commit02f1caa583ca0e09e4c75ff6d9399f5d53931d2b (patch)
treec1a116c32e627e0199349d8ea059b27f9a32781e /src/feature/hs/hs_ob.h
parentef28afa2551a6827d85ceb00d8fe2a69d1605795 (diff)
downloadtor-02f1caa583ca0e09e4c75ff6d9399f5d53931d2b.tar.gz
tor-02f1caa583ca0e09e4c75ff6d9399f5d53931d2b.zip
hs-v3: Validate INTRO2 cells for onion balance
Closes #32709 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_ob.h')
-rw-r--r--src/feature/hs/hs_ob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/hs/hs_ob.h b/src/feature/hs/hs_ob.h
index d16896f2ed..8ad6aabc4f 100644
--- a/src/feature/hs/hs_ob.h
+++ b/src/feature/hs/hs_ob.h
@@ -13,6 +13,9 @@
int hs_ob_parse_config_file(hs_service_config_t *config);
+size_t hs_ob_get_subcredentials(const hs_service_config_t *config,
+ uint8_t **subcredentials);
+
#ifdef HS_OB_PRIVATE
typedef struct ob_options_t {