Skip to content
Snippets Groups Projects
Commit 4dbbe47d authored by David Goulet's avatar David Goulet :panda_face: Committed by George Kadianakis
Browse files

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's avatarDavid Goulet <dgoulet@torproject.org>
parent f0646919
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment