Skip to content

crypto: fix missing OPENSSL_NO_ENGINE guard - #57012

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
codebytere:openssl-no-engine
Feb 14, 2025
Merged

crypto: fix missing OPENSSL_NO_ENGINE guard#57012
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
codebytere:openssl-no-engine

Conversation

@codebytere

Copy link
Copy Markdown
Member

Refs #56526.

Fixes compilation failure when OPENSSL_NO_ENGINE is defined:

../../third_party/electron_node/src/crypto/crypto_util.cc:32:16: error: no member named 'EnginePointer' in namespace 'ncrypto'; did you mean 'ECPointPointer'?
32 | using ncrypto::EnginePointer;
| ~~~~~~~~~^~~~~~~~~~~~~
| ECPointPointer
../../third_party/electron_node/deps/ncrypto/ncrypto.h:889:7: note: 'ECPointPointer' declared here
889 | class ECPointPointer final {
| ^
1 error generated.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Feb 12, 2025
@richardlaurichardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 12, 2025
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 12, 2025
@nodejs-github-bot

This comment was marked as outdated.

@codecov

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

nodejs-github-bot commented Feb 13, 2025

Copy link
Copy Markdown
Collaborator

@jasnelljasnell added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Feb 14, 2025
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 14, 2025
@nodejs-github-bot
nodejs-github-bot merged commit fc7682c into nodejs:mainFeb 14, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in fc7682c

targos pushed a commit that referenced this pull request Feb 17, 2025
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>
acidiney pushed a commit to acidiney/node that referenced this pull request Feb 23, 2025
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>
aduh95 pushed a commit that referenced this pull request Apr 2, 2025
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>
aduh95 pushed a commit that referenced this pull request Apr 3, 2025
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>
RafaelGSS pushed a commit that referenced this pull request Apr 16, 2025
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>
RafaelGSS pushed a commit that referenced this pull request Apr 17, 2025
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>
codebytere added a commit to electron/electron that referenced this pull request Apr 25, 2025
codebytere added a commit to electron/electron that referenced this pull request Apr 25, 2025
codebytere added a commit to electron/electron that referenced this pull request May 1, 2025
codebytere added a commit to electron/electron that referenced this pull request May 5, 2025
* chore: bump node in DEPS to v22.15.0
* inspector: fix GN build
nodejs/node#56798
* test: search cctest files
nodejs/node#56791
* crypto: fix missing OPENSSL_NO_ENGINE guard
nodejs/node#57012
* test,crypto: make tests work for BoringSSL
nodejs/node#57021
* module: use synchronous hooks for preparsing in import(cjs)
nodejs/node#55698
* deps: update simdjson to 3.12.0
nodejs/node#56874
* build: remove explicit linker call to libm on macOS
nodejs/node#56901
* test: make eval snapshot comparison more flexible
nodejs/node#57020
* src: allow embedder customization of OOMErrorHandler
nodejs/node#57325
* src: do not pass nullptr to std::string ctor
nodejs/node#57354
* src: lock the isolate properly in IsolateData destructor
nodejs/node#57031
* chore: shrink --trace-atomics-wait patch
* chore: fixup patch indices
* build: fix GN build failure
nodejs/node#57013
* crypto: expose security levels
nodejs/node#56601
* zlib: add zstd support
nodejs/node#52100
* test: move crypto related common utilities in common/crypto
nodejs/node#56714
* cli: move --trace-atomics-wait to eol
nodejs/node#52747
* test: disable test-https-client-renegotiation-limit
BoringSSL doesn't support caller-initiated renegotiation - see
https://source.chromium.org/chromium/chromium/src/+/main:third_party/boringssl/src/ssl/ssl_lib.cc;l=1627-1631
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request May 5, 2025
codebytere added a commit to electron/electron that referenced this pull request May 6, 2025
codebytere added a commit to electron/electron that referenced this pull request May 6, 2025
* chore: bump node in DEPS to v22.15.0
* inspector: fix GN build
nodejs/node#56798
* test: search cctest files
nodejs/node#56791
* crypto: fix missing OPENSSL_NO_ENGINE guard
nodejs/node#57012
* test,crypto: make tests work for BoringSSL
nodejs/node#57021
* module: use synchronous hooks for preparsing in import(cjs)
nodejs/node#55698
* deps: update simdjson to 3.12.0
nodejs/node#56874
* build: remove explicit linker call to libm on macOS
nodejs/node#56901
* test: make eval snapshot comparison more flexible
nodejs/node#57020
* src: allow embedder customization of OOMErrorHandler
nodejs/node#57325
* src: do not pass nullptr to std::string ctor
nodejs/node#57354
* src: lock the isolate properly in IsolateData destructor
nodejs/node#57031
* chore: shrink --trace-atomics-wait patch
* chore: fixup patch indices
* build: fix GN build failure
nodejs/node#57013
* crypto: expose security levels
nodejs/node#56601
* zlib: add zstd support
nodejs/node#52100
* test: move crypto related common utilities in common/crypto
nodejs/node#56714
* cli: move --trace-atomics-wait to eol
nodejs/node#52747
* test: disable test-https-client-renegotiation-limit
BoringSSL doesn't support caller-initiated renegotiation - see
https://source.chromium.org/chromium/chromium/src/+/main:third_party/boringssl/src/ssl/ssl_lib.cc;l=1627-1631
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request May 7, 2025
deepak1556 pushed a commit to electron/electron that referenced this pull request May 13, 2025
* chore: bump node in DEPS to v22.15.0
* inspector: fix GN build
nodejs/node#56798
* test: search cctest files
nodejs/node#56791
* crypto: fix missing OPENSSL_NO_ENGINE guard
nodejs/node#57012
* test,crypto: make tests work for BoringSSL
nodejs/node#57021
* module: use synchronous hooks for preparsing in import(cjs)
nodejs/node#55698
* deps: update simdjson to 3.12.0
nodejs/node#56874
* build: remove explicit linker call to libm on macOS
nodejs/node#56901
* test: make eval snapshot comparison more flexible
nodejs/node#57020
* src: allow embedder customization of OOMErrorHandler
nodejs/node#57325
* src: do not pass nullptr to std::string ctor
nodejs/node#57354
* build: fix GN build failure
* build: fix patch indices
* crypto: expose security levels
nodejs/node#56601
* zlib: add zstd support
nodejs/node#52100
* test: move crypto related common utilities in common/crypto
nodejs/node#56714
* test: disable test-https-client-renegotiation-limit
BoringSSL doesn't support caller-initiated renegotiation - see
https://source.chromium.org/chromium/chromium/src/+/main:third_party/boringssl/src/ssl/ssl_lib.cc;l=1627-1631
* chore: fixup indices
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
kigh-ota pushed a commit to kigh-ota/electron that referenced this pull request Sep 30, 2025
* chore: bump node in DEPS to v22.15.0
* inspector: fix GN build
nodejs/node#56798
* test: search cctest files
nodejs/node#56791
* crypto: fix missing OPENSSL_NO_ENGINE guard
nodejs/node#57012
* test,crypto: make tests work for BoringSSL
nodejs/node#57021
* module: use synchronous hooks for preparsing in import(cjs)
nodejs/node#55698
* deps: update simdjson to 3.12.0
nodejs/node#56874
* build: remove explicit linker call to libm on macOS
nodejs/node#56901
* test: make eval snapshot comparison more flexible
nodejs/node#57020
* src: allow embedder customization of OOMErrorHandler
nodejs/node#57325
* src: do not pass nullptr to std::string ctor
nodejs/node#57354
* src: lock the isolate properly in IsolateData destructor
nodejs/node#57031
* chore: shrink --trace-atomics-wait patch
* chore: fixup patch indices
* build: fix GN build failure
nodejs/node#57013
* crypto: expose security levels
nodejs/node#56601
* zlib: add zstd support
nodejs/node#52100
* test: move crypto related common utilities in common/crypto
nodejs/node#56714
* cli: move --trace-atomics-wait to eol
nodejs/node#52747
* test: disable test-https-client-renegotiation-limit
BoringSSL doesn't support caller-initiated renegotiation - see
https://source.chromium.org/chromium/chromium/src/+/main:third_party/boringssl/src/ssl/ssl_lib.cc;l=1627-1631
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.cryptoIssues and PRs related to the crypto subsystem.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@codebytere@nodejs-github-bot@jasnell@lpinca@joyeecheung@richardlau