diff --git a/src/crypto/crypto_context.cc b/src/crypto/crypto_context.cc index c092c43f038caa..9e0d89249daada 100644 --- a/src/crypto/crypto_context.cc +++ b/src/crypto/crypto_context.cc @@ -34,7 +34,9 @@ using ncrypto::BIOPointer; using ncrypto::ClearErrorOnReturn; using ncrypto::CryptoErrorList; using ncrypto::DHPointer; +#ifndef OPENSSL_NO_ENGINE using ncrypto::EnginePointer; +#endif // !OPENSSL_NO_ENGINE using ncrypto::EVPKeyPointer; using ncrypto::MarkPopErrorOnReturn; using ncrypto::SSLPointer; diff --git a/src/crypto/crypto_util.cc b/src/crypto/crypto_util.cc index 032b07fbaad27b..737149b83dda4c 100644 --- a/src/crypto/crypto_util.cc +++ b/src/crypto/crypto_util.cc @@ -30,7 +30,9 @@ using ncrypto::BignumPointer; using ncrypto::BIOPointer; using ncrypto::CryptoErrorList; using ncrypto::DataPointer; +#ifndef OPENSSL_NO_ENGINE using ncrypto::EnginePointer; +#endif // !OPENSSL_NO_ENGINE using ncrypto::EVPKeyCtxPointer; using ncrypto::SSLCtxPointer; using ncrypto::SSLPointer;