mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
fixup! hs: Learn service version by trying to load the keys
This commit is contained in:
parent
e8557ba00d
commit
d9bfc9e2e3
@ -3410,7 +3410,7 @@ hs_service_get_version_from_key(const hs_service_t *service)
|
|||||||
tor_assert(service);
|
tor_assert(service);
|
||||||
|
|
||||||
/* We'll try to load the key for version 3. If not found, we'll try version
|
/* We'll try to load the key for version 3. If not found, we'll try version
|
||||||
* 2 and if not found, we'll send back an unknown version (0). */
|
* 2 and if not found, we'll send back an unknown version (-1). */
|
||||||
directory_path = service->config.directory_path;
|
directory_path = service->config.directory_path;
|
||||||
|
|
||||||
/* Version 3 check. */
|
/* Version 3 check. */
|
||||||
|
Loading…
Reference in New Issue
Block a user