[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] fixup! hs: Learn service version by trying to load the keys



commit d9bfc9e2e351ab7048a09f880d79cc696c8e2c91
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date:   Tue Aug 28 08:36:28 2018 -0400

    fixup! hs: Learn service version by trying to load the keys
---
 src/feature/hs/hs_service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index fd981f8e1..30d01540f 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -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. */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits