tor_main continues after failed crypto_early_init in tor_init
A typo in the return value from tor_init
means that if crypto_early_init
fails, tor_main
can continue running, rather than returning with an error value.
This bug was introduced in commit d3fb846d8c98
possibly related to feature #4900 (moved), first released in 0.2.5.2-alpha.
Given it's a very simple fix, where tor continues to run half-initialised, we might want to backport it.
I'll post a branch very soon.