]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup! hs: Learn service version by trying to load the keys
authorDavid Goulet <dgoulet@torproject.org>
Tue, 28 Aug 2018 12:36:28 +0000 (08:36 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 28 Aug 2018 12:36:28 +0000 (08:36 -0400)
src/feature/hs/hs_service.c

index fd981f8e17b6929c6139c2116d28a4f61a988e5d..30d01540f240ea6ca32eb2263a1badcfa9eb62de 100644 (file)
@@ -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. */