mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
hs: Rename rend_mid_introduce() with legacy semantic
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
db77a38da2
commit
5208085be1
@ -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);
|
||||
|
@ -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];
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user