mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
48f8d69189
With LibreSSL-3.8.1 these engines are no long available causing a build failure, but LibreSSL correctly defines OPENSSL_NO_ENGINE as part of its opensslfeatures.h. However Tor includes crypto_openssl_mgt.h before any of the openssl includes which would define OPENSSL_NO_ENGINE and then fails to define DISABLE_ENGINES. As the define is used in only a single .c file it is best to move it there. Signed-off-by: orbea <orbea@riseup.net>