diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-06-05 09:52:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-05 09:52:09 -0400 |
commit | 26d9fffae428a186e92ffa53053da76bea519fec (patch) | |
tree | 127b789e3f1f22dc920c006cddf170f137f61b7e /src/or/routerkeys.c | |
parent | be741d7e63b06fe103caab3db4b64ada45bd6bae (diff) | |
parent | f2068ef8626302f7dce44bf206c4e83d4af7abba (diff) | |
download | tor-26d9fffae428a186e92ffa53053da76bea519fec.tar.gz tor-26d9fffae428a186e92ffa53053da76bea519fec.zip |
Merge branch 'bug22466_diagnostic_030'
Diffstat (limited to 'src/or/routerkeys.c')
-rw-r--r-- | src/or/routerkeys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c index 0bff8daad5..c8d5f701a4 100644 --- a/src/or/routerkeys.c +++ b/src/or/routerkeys.c @@ -686,6 +686,10 @@ load_ed_keys(const or_options_t *options, time_t now) tor_cert_t *sign_cert = NULL; tor_cert_t *auth_cert = NULL; + // It is later than 1972, since otherwise there would be no C compilers. + // (Try to diagnose #22466.) + tor_assert_nonfatal(now >= 2 * 365 * 86400); + #define FAIL(msg) do { \ log_warn(LD_OR, (msg)); \ goto err; \ |