aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs
diff options
context:
space:
mode:
authorGabriela Moldovan <gabi@torproject.org>2023-02-10 15:27:43 +0000
committerGabriela Moldovan <gabi@torproject.org>2023-02-10 15:27:43 +0000
commitc98d78c95c198dd513c9cc446ed09d430b49566c (patch)
treeea49658f12d4b776f86b6ea0bfbe41db32d76559 /src/feature/hs
parent43d3a411575b0a07e313ef4715cd164e0a6a5f0f (diff)
downloadtor-c98d78c95c198dd513c9cc446ed09d430b49566c.tar.gz
tor-c98d78c95c198dd513c9cc446ed09d430b49566c.zip
Update `find_service` documentation.
This updates the docs to stop suggesting `pk` can be NULL, as that doesn't seem to be the case anymore (`tor_assert(pk)`). Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Diffstat (limited to 'src/feature/hs')
-rw-r--r--src/feature/hs/hs_service.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index 4e971233af..479ac4670f 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -170,9 +170,7 @@ is_client_auth_enabled(const hs_service_t *service)
}
/** Query the given service map with a public key and return a service object
- * if found else NULL. It is also possible to set a directory path in the
- * search query. If pk is NULL, then it will be set to zero indicating the
- * hash table to compare the directory path instead. */
+ * if found else NULL. */
STATIC hs_service_t *
find_service(hs_service_ht *map, const ed25519_public_key_t *pk)
{