mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Stop initializing the hardware accelerator engines simply because
we overloaded the meaning of the argument to crypto_global_init(). svn:r6490
This commit is contained in:
parent
67a885ecac
commit
36712a443b
@ -189,10 +189,11 @@ crypto_global_init(int useAccel)
|
||||
OpenSSL_add_all_algorithms();
|
||||
_crypto_global_initialized = 1;
|
||||
setup_openssl_threading();
|
||||
if (useAccel < 0) {
|
||||
log_warn(LD_CRYPTO, "Initializing OpenSSL via tor_tls_init().");
|
||||
}
|
||||
#ifndef NO_ENGINES
|
||||
if (useAccel) {
|
||||
if (useAccel < 0)
|
||||
log_warn(LD_CRYPTO, "Initializing OpenSSL via tor_tls_init().");
|
||||
if (useAccel > 0) {
|
||||
log_info(LD_CRYPTO, "Initializing OpenSSL engine support.");
|
||||
ENGINE_load_builtin_engines();
|
||||
if (!ENGINE_register_all_complete())
|
||||
|
Loading…
Reference in New Issue
Block a user