Skip to content

Commit 25f11b0

Browse files
committed
crypto: fix missing OPENSSL_NO_ENGINE guard
1 parent 9ce1fff commit 25f11b0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/crypto/crypto_context.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ using ncrypto::BIOPointer;
3434
using ncrypto::ClearErrorOnReturn;
3535
using ncrypto::CryptoErrorList;
3636
using ncrypto::DHPointer;
37-
using ncrypto::EnginePointer;
3837
using ncrypto::EVPKeyPointer;
38+
#ifndef OPENSSL_NO_ENGINE
39+
using ncrypto::EnginePointer;
40+
#endif // !OPENSSL_NO_ENGINE
3941
using ncrypto::MarkPopErrorOnReturn;
4042
using ncrypto::SSLPointer;
4143
using ncrypto::StackOfX509;

src/crypto/crypto_util.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ using ncrypto::BignumPointer;
3030
using ncrypto::BIOPointer;
3131
using ncrypto::CryptoErrorList;
3232
using ncrypto::DataPointer;
33+
#ifndef OPENSSL_NO_ENGINE
3334
using ncrypto::EnginePointer;
35+
#endif // !OPENSSL_NO_ENGINE
3436
using ncrypto::EVPKeyCtxPointer;
3537
using ncrypto::SSLCtxPointer;
3638
using ncrypto::SSLPointer;

0 commit comments

Comments
 (0)