diff options
author | David Goulet <dgoulet@torproject.org> | 2016-11-15 14:18:48 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-01-18 16:58:34 -0500 |
commit | 9d7505a62aebaaf2fdf0e3a8178b80be17047e7b (patch) | |
tree | 18f31254e03891926a928ec396775311daa9a87b /src/or/hs_intropoint.c | |
parent | e1497744c8887c883541d3cb6d3d63d9ab51f9ad (diff) | |
download | tor-9d7505a62aebaaf2fdf0e3a8178b80be17047e7b.tar.gz tor-9d7505a62aebaaf2fdf0e3a8178b80be17047e7b.zip |
prop224: Rename hs_intro_circuit_is_suitable()
Adds a better semantic and it also follows the same interface for the
INTRODUCE1 API which is circuit_is_suitable_for_introduce1().
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_intropoint.c')
-rw-r--r-- | src/or/hs_intropoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_intropoint.c b/src/or/hs_intropoint.c index 42b20552c6..2da3ee9243 100644 --- a/src/or/hs_intropoint.c +++ b/src/or/hs_intropoint.c @@ -215,7 +215,7 @@ handle_establish_intro(or_circuit_t *circ, const uint8_t *request, circ->p_circ_id); /* Check that the circuit is in shape to become an intro point */ - if (!hs_intro_circuit_is_suitable(circ)) { + if (!hs_intro_circuit_is_suitable_for_establish_intro(circ)) { goto err; } @@ -286,7 +286,7 @@ circuit_is_suitable_intro_point(const or_circuit_t *circ, /* Return True if circuit is suitable for becoming an intro circuit. */ int -hs_intro_circuit_is_suitable(const or_circuit_t *circ) +hs_intro_circuit_is_suitable_for_establish_intro(const or_circuit_t *circ) { return circuit_is_suitable_intro_point(circ, "ESTABLISH_INTRO"); } |