From: Guus Sliepen Date: Sat, 4 Apr 2026 14:59:08 +0000 (+0200) Subject: Fix building if there is no openssl/engine.h X-Git-Url: https://www.tinc-vpn.org/git/?a=commitdiff_plain;h=13f784e26a196bd0cbeeaf163bb950fe1e397900;p=tinc Fix building if there is no openssl/engine.h --- diff --git a/src/openssl/crypto.c b/src/openssl/crypto.c index 3960c3e8..44c7be57 100644 --- a/src/openssl/crypto.c +++ b/src/openssl/crypto.c @@ -20,7 +20,9 @@ #include "../system.h" #include +#if OPENSSL_VERSION_MAJOR < 3 #include +#endif #include "../crypto.h"