diff options
author | David Goulet <dgoulet@torproject.org> | 2018-08-28 08:36:28 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-08-28 08:36:28 -0400 |
commit | d9bfc9e2e351ab7048a09f880d79cc696c8e2c91 (patch) | |
tree | 9ecd26977de782f82d845abc8bc1edb2c71c1127 /src/feature/hs | |
parent | e8557ba00ddbd1fa7882c937f50a8366d9d68746 (diff) | |
download | tor-d9bfc9e2e351ab7048a09f880d79cc696c8e2c91.tar.gz tor-d9bfc9e2e351ab7048a09f880d79cc696c8e2c91.zip |
fixup! hs: Learn service version by trying to load the keys
Diffstat (limited to 'src/feature/hs')
-rw-r--r-- | src/feature/hs/hs_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c index fd981f8e17..30d01540f2 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. */ |