diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-18 09:39:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-18 09:39:46 -0400 |
commit | 314652dc16ece380de343ccdc5a2155d612bcff7 (patch) | |
tree | 1cd38243fab3dbb6ed246ba959d29eb59c8f3382 /src | |
parent | f7b06202c787d117eb22f04798a6f3f4b6722af1 (diff) | |
parent | 0ec72b030839c3a9e8c557483594b9dbe86c0792 (diff) | |
download | tor-314652dc16ece380de343ccdc5a2155d612bcff7.tar.gz tor-314652dc16ece380de343ccdc5a2155d612bcff7.zip |
Merge branch 'maint-0.2.8' into maint-0.2.9
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendservice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 4d04da02aa..9c9b50445a 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -3265,6 +3265,8 @@ rend_service_intro_established(origin_circuit_t *circuit, (unsigned)circuit->base_.n_circ_id); goto err; } + base32_encode(serviceid, REND_SERVICE_ID_LEN_BASE32 + 1, + circuit->rend_data->rend_pk_digest, REND_SERVICE_ID_LEN); /* We've just successfully established a intro circuit to one of our * introduction point, account for it. */ intro = find_intro_point(circuit); @@ -3281,8 +3283,6 @@ rend_service_intro_established(origin_circuit_t *circuit, service->desc_is_dirty = time(NULL); circuit_change_purpose(TO_CIRCUIT(circuit), CIRCUIT_PURPOSE_S_INTRO); - base32_encode(serviceid, REND_SERVICE_ID_LEN_BASE32 + 1, - circuit->rend_data->rend_pk_digest, REND_SERVICE_ID_LEN); log_info(LD_REND, "Received INTRO_ESTABLISHED cell on circuit %u for service %s", (unsigned)circuit->base_.n_circ_id, serviceid); |