summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-03-10 10:58:51 -0400
committerGeorge Kadianakis <desnacked@riseup.net>2020-03-19 13:43:39 +0200
commit4dbbe47d86d28d45f12ad219e85cd631c8698418 (patch)
tree1fb4e829c23d693fceb6a3d997da1c859f8d2a69 /autogen.sh
parentf0646919af14efc82c68535ba60f60cbdacd712f (diff)
downloadtor-4dbbe47d86d28d45f12ad219e85cd631c8698418.tar.gz
tor-4dbbe47d86d28d45f12ad219e85cd631c8698418.zip
hs-v3: Improve accessor semantic of client cached object
Add an inline helper function that indicates if the cached object contains a decrypted descriptor or not. The descriptor object is NULL if tor is unable to decrypt it (lacking client authorization) and some actions need to be done only when we have a decrypted object. This improves code semantic. Fixes #33458 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions