diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-12-10 13:55:21 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-10 08:50:40 -0500 |
commit | 7e7188cb00d02a52baee1a26b548cd5eebd85ce7 (patch) | |
tree | a1186fe377c3a4ffc82033eb8deab57941c1efb5 /src/or/main.c | |
parent | 6102efbee227394ae53727b292a62df5368ab4c6 (diff) | |
download | tor-7e7188cb00d02a52baee1a26b548cd5eebd85ce7.tar.gz tor-7e7188cb00d02a52baee1a26b548cd5eebd85ce7.zip |
Assert when the TLS contexts fail to initialize
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 3f166c819d..527e2b1ffe 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1609,7 +1609,7 @@ rotate_x509_certificate_callback(time_t now, const or_options_t *options) log_info(LD_GENERAL,"Rotating tls context."); if (router_initialize_tls_context() < 0) { log_warn(LD_BUG, "Error reinitializing TLS context"); - /* XXX is it a bug here, that we just keep going? -RD */ + tor_assert(0); } /* We also make sure to rotate the TLS connections themselves if they've |