aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-11-15 14:29:02 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-01-18 16:58:34 -0500
commit5208085be1deff4711b634b108052970aed6a127 (patch)
tree79507251f6f1062e6d3b2961d88396d2d4b21ba6 /src
parentdb77a38da2f661d81ea2c8df1b62e5de64a32488 (diff)
downloadtor-5208085be1deff4711b634b108052970aed6a127.tar.gz
tor-5208085be1deff4711b634b108052970aed6a127.zip
hs: Rename rend_mid_introduce() with legacy semantic
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src')
-rw-r--r--src/or/hs_intropoint.c2
-rw-r--r--src/or/rendmid.c4
-rw-r--r--src/or/rendmid.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/or/hs_intropoint.c b/src/or/hs_intropoint.c
index 2da3ee9243..b7dae7d3c4 100644
--- a/src/or/hs_intropoint.c
+++ b/src/or/hs_intropoint.c
@@ -577,7 +577,7 @@ hs_intro_received_introduce1(or_circuit_t *circ, const uint8_t *request,
/* We are sure here to have at least DIGEST_LEN bytes. */
if (introduce1_cell_is_legacy(request)) {
/* Handle a legacy cell. */
- ret = rend_mid_introduce(circ, request, request_len);
+ ret = rend_mid_introduce_legacy(circ, request, request_len);
} else {
/* Handle a non legacy cell. */
ret = handle_introduce1(circ, request, request_len);
diff --git a/src/or/rendmid.c b/src/or/rendmid.c
index 89d2482c61..57c8cfac92 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -133,8 +133,8 @@ rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request,
* INTRODUCE2 cell.
*/
int
-rend_mid_introduce(or_circuit_t *circ, const uint8_t *request,
- size_t request_len)
+rend_mid_introduce_legacy(or_circuit_t *circ, const uint8_t *request,
+ size_t request_len)
{
or_circuit_t *intro_circ;
char serviceid[REND_SERVICE_ID_LEN_BASE32+1];
diff --git a/src/or/rendmid.h b/src/or/rendmid.h
index 374f2b7d66..347d745853 100644
--- a/src/or/rendmid.h
+++ b/src/or/rendmid.h
@@ -14,8 +14,8 @@
int rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request,
size_t request_len);
-int rend_mid_introduce(or_circuit_t *circ, const uint8_t *request,
- size_t request_len);
+int rend_mid_introduce_legacy(or_circuit_t *circ, const uint8_t *request,
+ size_t request_len);
int rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
size_t request_len);
int rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,