tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit c35b6704f19ec924e68cf169119aac281861106b
parent 185320e080fbc77ff2838b16a3e89f9ffbf9ed26
Author: David Goulet <dgoulet@torproject.org>
Date:   Wed, 21 May 2025 13:34:36 +0000

Merge branch 'bug41077' into 'main'

Fix log message claiming that LibreSSL is OpenSSL

Closes #41077

See merge request tpo/core/tor!897
Diffstat:
Msrc/lib/crypt_ops/crypto_openssl_mgt.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/lib/crypt_ops/crypto_openssl_mgt.c b/src/lib/crypt_ops/crypto_openssl_mgt.c @@ -301,6 +301,7 @@ int crypto_openssl_late_init(int useAccel, const char *accelName, const char *accelDir) { +#ifndef LIBRESSL_VERSION_NUMBER if (tor_OpenSSL_version_num() < OPENSSL_V_SERIES(3,0,0)) { log_warn(LD_CRYPTO, "Running with OpenSSL version \"%s\", " "which is no longer maintained by the OpenSSL project. " @@ -308,6 +309,7 @@ crypto_openssl_late_init(int useAccel, const char *accelName, "OpenSSL >=3.5 would be ideal.", OPENSSL_VERSION_TEXT); } +#endif if (useAccel > 0) { if (crypto_openssl_init_engines(accelName, accelDir) < 0)