Skip to content
  • orbea's avatar
    crypt_openssl_mgt: define DISABLE_ENGINES after OPENSSL_NO_ENGINE · 48f8d691
    orbea authored
    
    
    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: default avatarorbea <orbea@riseup.net>
    48f8d691