Skip to content

Commit a56af79

Browse files
codebytereacidiney
authored andcommitted
crypto: fix missing OPENSSL_NO_ENGINE guard
PR-URL: nodejs#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 a43c81b commit a56af79

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
@@ -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)