diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-09-25 15:00:06 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-09-25 15:00:06 +0300 |
commit | 03b3f5486ae169dd53e2b5fc1bca1c9ba7c8f5da (patch) | |
tree | b72e9cf832133560dfa65272fc3b2c22c1e0610b /src/or/hs_circuit.c | |
parent | a3f5a246693cca2f6a51e418e6edf8fae2fe75b5 (diff) | |
download | tor-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.c')
-rw-r--r-- | src/or/hs_circuit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c index 01e987c402..e1e513c5f4 100644 --- a/src/or/hs_circuit.c +++ b/src/or/hs_circuit.c @@ -5,6 +5,8 @@ * \file hs_circuit.c **/ +#define HS_CIRCUIT_PRIVATE + #include "or.h" #include "circpathbias.h" #include "circuitbuild.h" @@ -18,10 +20,10 @@ #include "router.h" #include "hs_cell.h" -#include "hs_circuit.h" #include "hs_ident.h" #include "hs_ntor.h" #include "hs_service.h" +#include "hs_circuit.h" /* Trunnel. */ #include "ed25519_cert.h" @@ -235,7 +237,7 @@ count_opened_desc_intro_point_circuits(const hs_service_t *service, /* From a given service, rendezvous cookie and handshake info, create a * rendezvous point circuit identifier. This can't fail. */ -static hs_ident_circuit_t * +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, |