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 <rlau@redhat.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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

+2
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

+2
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)