sr: Switch from tor_assert() to BUG()

Closes #19566

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
Neel Chauhan
2017-09-19 16:08:24 -04:00
committed by David Goulet
parent 72c1303cef
commit d18a167ff3
3 changed files with 20 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
o Code simplification and refactoring (shared random, dirauth):
- Change many tor_assert() to use BUG() instead. The idea is to not crash
a dirauth but rather scream loudly with a stacktrace and let it continue
run. The shared random subsystem is very resilient and if anything wrong
happens with it, at worst a non coherent value will be put in the vote
and discarded by the other authorities. Closes ticket 19566.