aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_client.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-11-25 15:55:12 +0200
committerDavid Goulet <dgoulet@torproject.org>2019-12-03 09:22:17 -0500
commit70572b9abd660448777ebbee3dc71d7d70b37d8c (patch)
tree4bf46f984e4213226b676caab7c273bc986358be /src/feature/hs/hs_client.h
parent68b6d852489157d94b14dcdc9ca729f5a7134c76 (diff)
downloadtor-70572b9abd660448777ebbee3dc71d7d70b37d8c.tar.gz
tor-70572b9abd660448777ebbee3dc71d7d70b37d8c.zip
hsv3: Implement permanent storage of auth credentials.
- See hs_client_register_auth_credentials() for the entry point. - Also set the permanent flag for credentials we read from the filesystem. - Also add some missing documentation.
Diffstat (limited to 'src/feature/hs/hs_client.h')
-rw-r--r--src/feature/hs/hs_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/hs/hs_client.h b/src/feature/hs/hs_client.h
index 04827ea92a..75a9111077 100644
--- a/src/feature/hs/hs_client.h
+++ b/src/feature/hs/hs_client.h
@@ -43,6 +43,8 @@ typedef enum {
REGISTER_SUCCESS_AND_DECRYPTED,
/* We failed to register these credentials, because of a bad HS address. */
REGISTER_FAIL_BAD_ADDRESS,
+ /* We failed to register these credentials, because of a bad HS address. */
+ REGISTER_FAIL_PERMANENT_STORAGE,
} hs_client_register_auth_status_t;
/* Status code of client auth credential removal */