diff options
author | David Goulet <dgoulet@torproject.org> | 2017-06-29 13:29:23 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | 8e2854372d777d6be63d1bf766ca6db9100490de (patch) | |
tree | eed4c9eb96908cdf0a7def3b2a7832424c419aec /src/or/rendcommon.c | |
parent | b13ee8e4ae59f85ce75800aa7dd90cfe58c04a5e (diff) | |
download | tor-8e2854372d777d6be63d1bf766ca6db9100490de.tar.gz tor-8e2854372d777d6be63d1bf766ca6db9100490de.zip |
prop224: Helper function to assert on invalid client intro circuit
Put all the possible assert() we can do on a client introduction circuit in
one helper function to make sure it is valid and usable.
It is disabled for now so gcc doesn't complain that we have a unused function.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 8829ede960..a6b59881ad 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -990,7 +990,7 @@ rend_non_anonymous_mode_enabled(const or_options_t *options) * service. */ void -assert_circ_anonymity_ok(origin_circuit_t *circ, +assert_circ_anonymity_ok(const origin_circuit_t *circ, const or_options_t *options) { tor_assert(options); |