diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-02 11:49:28 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-04 09:55:07 -0400 |
commit | d70b1b4da13d30f16ba0604103a1ebe915a2a20a (patch) | |
tree | a0e7b98a91e2025aa83aa6ceae8725c9589b40ca /src/or/routerkeys.h | |
parent | 0ba4e0895ae2395a528aacd1625715a7ffc29211 (diff) | |
download | tor-d70b1b4da13d30f16ba0604103a1ebe915a2a20a.tar.gz tor-d70b1b4da13d30f16ba0604103a1ebe915a2a20a.zip |
Never ever try to load the secret key if offline_master is set
(Not even if we can't find the public key.)
Diffstat (limited to 'src/or/routerkeys.h')
-rw-r--r-- | src/or/routerkeys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerkeys.h b/src/or/routerkeys.h index b4e73aa33f..b396779bd2 100644 --- a/src/or/routerkeys.h +++ b/src/or/routerkeys.h @@ -17,6 +17,7 @@ #define INIT_ED_KEY_TRY_ENCRYPTED (1u<<8) #define INIT_ED_KEY_NO_REPAIR (1u<<9) #define INIT_ED_KEY_SUGGEST_KEYGEN (1u<<10) +#define INIT_ED_KEY_OFFLINE_SECRET (1u<<11) struct tor_cert_st; ed25519_keypair_t *ed_key_init_from_file(const char *fname, uint32_t flags, |