mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Merge remote-tracking branch 'origin/maint-0.2.6'
This commit is contained in:
commit
43a98c7da6
7
changes/bug16360-failed-crypto-early-init
Normal file
7
changes/bug16360-failed-crypto-early-init
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
o Minor bugfixes (crypto error-handling):
|
||||||
|
- If crypto_early_init fails, a typo in a return value from tor_init
|
||||||
|
means that tor_main continues running, rather than returning
|
||||||
|
an error value.
|
||||||
|
Fixes bug 16360; bugfix on d3fb846d8c98 in 0.2.5.2-alpha,
|
||||||
|
introduced when implementing #4900.
|
||||||
|
Patch by "teor".
|
@ -2515,7 +2515,7 @@ tor_init(int argc, char *argv[])
|
|||||||
/* Set up the crypto nice and early */
|
/* Set up the crypto nice and early */
|
||||||
if (crypto_early_init() < 0) {
|
if (crypto_early_init() < 0) {
|
||||||
log_err(LD_GENERAL, "Unable to initialize the crypto subsystem!");
|
log_err(LD_GENERAL, "Unable to initialize the crypto subsystem!");
|
||||||
return 1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the history structures. */
|
/* Initialize the history structures. */
|
||||||
|
Loading…
Reference in New Issue
Block a user