aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerkeys.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-01 14:05:00 +0100
committerNick Mathewson <nickm@torproject.org>2015-05-28 10:42:29 -0400
commit64450c5f775c6453568c5ac218669ff0525dc232 (patch)
treeca5de5f86b1bb6b5a647e01b3ddf2e5e0d62e581 /src/or/routerkeys.h
parentd4a6b1a4209f0b3995c0f61ad9cbe687e09a6fb0 (diff)
downloadtor-64450c5f775c6453568c5ac218669ff0525dc232.tar.gz
tor-64450c5f775c6453568c5ac218669ff0525dc232.zip
Only load master ed25519 secret keys when we absolutely must.
Diffstat (limited to 'src/or/routerkeys.h')
-rw-r--r--src/or/routerkeys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerkeys.h b/src/or/routerkeys.h
index 5e2ef45314..6c188b745f 100644
--- a/src/or/routerkeys.h
+++ b/src/or/routerkeys.h
@@ -13,6 +13,7 @@
#define INIT_ED_KEY_NEEDCERT (1u<<4)
#define INIT_ED_KEY_EXTRA_STRONG (1u<<5)
#define INIT_ED_KEY_INCLUDE_SIGNING_KEY_IN_CERT (1u<<6)
+#define INIT_ED_KEY_OMIT_SECRET (1u<<7)
struct tor_cert_st;
ed25519_keypair_t *ed_key_init_from_file(const char *fname, uint32_t flags,