mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-12 22:23:49 +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();
|
OpenSSL_add_all_algorithms();
|
||||||
_crypto_global_initialized = 1;
|
_crypto_global_initialized = 1;
|
||||||
setup_openssl_threading();
|
setup_openssl_threading();
|
||||||
|
if (useAccel < 0) {
|
||||||
|
log_warn(LD_CRYPTO, "Initializing OpenSSL via tor_tls_init().");
|
||||||
|
}
|
||||||
#ifndef NO_ENGINES
|
#ifndef NO_ENGINES
|
||||||
if (useAccel) {
|
if (useAccel > 0) {
|
||||||
if (useAccel < 0)
|
|
||||||
log_warn(LD_CRYPTO, "Initializing OpenSSL via tor_tls_init().");
|
|
||||||
log_info(LD_CRYPTO, "Initializing OpenSSL engine support.");
|
log_info(LD_CRYPTO, "Initializing OpenSSL engine support.");
|
||||||
ENGINE_load_builtin_engines();
|
ENGINE_load_builtin_engines();
|
||||||
if (!ENGINE_register_all_complete())
|
if (!ENGINE_register_all_complete())
|
||||||
|
Loading…
Reference in New Issue
Block a user