diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-03-01 14:36:40 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-28 10:42:30 -0400 |
commit | 57189acd6f6b56a419d63a7acb012a9b8abac319 (patch) | |
tree | cae61ade268b8e599ca4299a73b403203f15a584 /src/or/routerkeys.h | |
parent | 64450c5f775c6453568c5ac218669ff0525dc232 (diff) | |
download | tor-57189acd6f6b56a419d63a7acb012a9b8abac319.tar.gz tor-57189acd6f6b56a419d63a7acb012a9b8abac319.zip |
# This is a combination of 2 commits.
# The first commit's message is:
Regenerate ed25519 keys when they will expire soon.
Also, have testing-level options to set the lifetimes and
expiration-tolerances of all key types, plus a non-testing-level
option to set the lifetime of any auto-generated signing key.
# The 2nd commit message will be skipped:
# fixup! Regenerate ed25519 keys when they will expire soon.
Diffstat (limited to 'src/or/routerkeys.h')
-rw-r--r-- | src/or/routerkeys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerkeys.h b/src/or/routerkeys.h index 6c188b745f..0c5042982c 100644 --- a/src/or/routerkeys.h +++ b/src/or/routerkeys.h @@ -55,6 +55,8 @@ int check_tap_onion_key_crosscert(const uint8_t *crosscert, const uint8_t *rsa_id_digest); int load_ed_keys(const or_options_t *options, time_t now); +int should_make_new_ed_keys(const or_options_t *options, const time_t now); + void routerkeys_free_all(void); #endif |