summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-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,