diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-11-25 15:55:12 +0200 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-12-03 09:22:17 -0500 |
commit | 70572b9abd660448777ebbee3dc71d7d70b37d8c (patch) | |
tree | 4bf46f984e4213226b676caab7c273bc986358be /src/feature/hs/hs_client.h | |
parent | 68b6d852489157d94b14dcdc9ca729f5a7134c76 (diff) | |
download | tor-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.h | 2 |
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 */ |