]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
hs-v3: Improve documentation of hs_cache_client_descriptor_t
authorDavid Goulet <dgoulet@torproject.org>
Thu, 17 Oct 2019 13:50:23 +0000 (09:50 -0400)
committerGeorge Kadianakis <desnacked@riseup.net>
Mon, 18 Nov 2019 17:06:43 +0000 (19:06 +0200)
Signed-off-by: David Goulet <dgoulet@torproject.org>
src/feature/hs/hs_cache.h

index 4fd9ac54459d63d28574fa629f6d30f68b889397..a56e2cc6c679a3a42711088d0ae6ba078e9e6506 100644 (file)
@@ -114,8 +114,10 @@ typedef struct hs_cache_client_descriptor_t {
    * using the next blinded key of the service. */
   time_t expiration_ts;
 
-  /** The cached descriptor, this object is the owner. It can't be NULL. A
-   * cache object without a valid descriptor is not possible. */
+  /** The cached decoded descriptor, this object is the owner. This can be
+   * NULL if the descriptor couldn't be decoded due to missing or bad client
+   * authorization. It can be decoded later from the encoded_desc object if
+   * the proper client authorization is given tor. */
   hs_descriptor_t *desc;
 
   /** Encoded descriptor in string form. Can't be NULL. */