aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_client.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-08-09 11:45:29 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commit31da3898e72cc2b9e8c25f6b4e89d34bbb17737e (patch)
tree80740cc40be9344d8f202a494038d5192c0736dc /src/or/hs_client.c
parenta64ef7d6c5f609229c4e6a25f1b18494a3ba6eea (diff)
downloadtor-31da3898e72cc2b9e8c25f6b4e89d34bbb17737e.tar.gz
tor-31da3898e72cc2b9e8c25f6b4e89d34bbb17737e.zip
prop224: Add directory_request_fetch_set_hs_ident()
Needed by the client when fetching a descriptor. This function checks the directory purpose and hard assert if it is not for fetching. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.c')
-rw-r--r--src/or/hs_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_client.c b/src/or/hs_client.c
index e7e3eb72ae..77348f23e2 100644
--- a/src/or/hs_client.c
+++ b/src/or/hs_client.c
@@ -102,7 +102,7 @@ directory_launch_v3_desc_fetch(const ed25519_public_key_t *onion_identity_pk,
directory_request_set_routerstatus(req, hsdir);
directory_request_set_indirection(req, DIRIND_ANONYMOUS);
directory_request_set_resource(req, base64_blinded_pubkey);
- directory_request_upload_set_hs_ident(req, &hs_conn_dir_ident);
+ directory_request_fetch_set_hs_ident(req, &hs_conn_dir_ident);
directory_initiate_request(req);
directory_request_free(req);