mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Never run crypto_early_init() more than once
Previously we had set up all the infrastructure to avoid calling it after the first time, but didn't actually use it.
This commit is contained in:
parent
f560eeadc3
commit
c08b47977e
@ -282,6 +282,9 @@ int
|
||||
crypto_early_init(void)
|
||||
{
|
||||
if (!crypto_early_initialized_) {
|
||||
|
||||
crypto_early_initialized_ = 1;
|
||||
|
||||
ERR_load_crypto_strings();
|
||||
OpenSSL_add_all_algorithms();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user