Skip to content
Snippets Groups Projects
Commit 853e73e8 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Return from instead of exit()ing when ed25519 key check fails.

parent c247a2df
No related branches found
No related tags found
No related merge requests found
......@@ -1609,8 +1609,7 @@ check_ed_keys_callback(time_t now, const or_options_t *options)
if (new_signing_key < 0 ||
generate_ed_link_cert(options, now, new_signing_key > 0)) {
log_err(LD_OR, "Unable to update Ed25519 keys! Exiting.");
tor_cleanup();
exit(1); // XXXX bad exit
tor_shutdown_event_loop_and_exit(1);
}
}
return 30;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment