mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-19 18:00:33 +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);
|
||||
|
||||
/* 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;
|
||||
|
||||
/* Version 3 check. */
|
||||
|
Loading…
Reference in New Issue
Block a user