Skip to content

Commit 90de671

Browse files
codebytereaduh95
authored andcommitted
crypto: fix missing OPENSSL_NO_ENGINE guard
PR-URL: #57012 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c398370 commit 90de671

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/crypto/crypto_context.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ using ncrypto::BIOPointer;
3434
using ncrypto::ClearErrorOnReturn;
3535
using ncrypto::CryptoErrorList;
3636
using ncrypto::DHPointer;
37+
#ifndef OPENSSL_NO_ENGINE
3738
using ncrypto::EnginePointer;
39+
#endif // !OPENSSL_NO_ENGINE
3840
using ncrypto::EVPKeyPointer;
3941
using ncrypto::MarkPopErrorOnReturn;
4042
using ncrypto::SSLPointer;

src/crypto/crypto_util.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ namespace node {
2929
using ncrypto::BignumPointer;
3030
using ncrypto::BIOPointer;
3131
using ncrypto::CryptoErrorList;
32+
#ifndef OPENSSL_NO_ENGINE
3233
using ncrypto::EnginePointer;
34+
#endif // !OPENSSL_NO_ENGINE
3335
using ncrypto::EVPKeyCtxPointer;
3436
using ncrypto::SSLCtxPointer;
3537
using ncrypto::SSLPointer;

0 commit comments

Comments
 (0)