Skip to content

Commit e21d126

Browse files
codebytereRafaelGSS
authored andcommitted
crypto: fix missing OPENSSL_NO_ENGINE guard
PR-URL: #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 fd2abaa commit e21d126

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