summaryrefslogtreecommitdiff
path: root/src/or/hs_circuit.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-09-25 15:00:06 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2017-09-25 15:00:06 +0300
commit03b3f5486ae169dd53e2b5fc1bca1c9ba7c8f5da (patch)
treeb72e9cf832133560dfa65272fc3b2c22c1e0610b /src/or/hs_circuit.h
parenta3f5a246693cca2f6a51e418e6edf8fae2fe75b5 (diff)
downloadtor-03b3f5486ae169dd53e2b5fc1bca1c9ba7c8f5da.tar.gz
tor-03b3f5486ae169dd53e2b5fc1bca1c9ba7c8f5da.zip
prop224: Add test for parsing RENDEZVOUS1 cell.
Just making sure that added padding does not screw up cell parsing.
Diffstat (limited to 'src/or/hs_circuit.h')
-rw-r--r--src/or/hs_circuit.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/hs_circuit.h b/src/or/hs_circuit.h
index 9085e3fb0b..0a1186dbaa 100644
--- a/src/or/hs_circuit.h
+++ b/src/or/hs_circuit.h
@@ -59,5 +59,15 @@ int hs_circuit_setup_e2e_rend_circ(origin_circuit_t *circ,
int hs_circuit_setup_e2e_rend_circ_legacy_client(origin_circuit_t *circ,
const uint8_t *rend_cell_body);
+#ifdef HS_CIRCUIT_PRIVATE
+
+STATIC hs_ident_circuit_t *
+create_rp_circuit_identifier(const hs_service_t *service,
+ const uint8_t *rendezvous_cookie,
+ const curve25519_public_key_t *server_pk,
+ const hs_ntor_rend_cell_keys_t *keys);
+
+#endif
+
#endif /* !defined(TOR_HS_CIRCUIT_H) */