crypto: fix inclusion of OPENSSL_IS_BORINGSSL define#58845
crypto: fix inclusion of OPENSSL_IS_BORINGSSL define#58845nodejs-github-bot merged 2 commits intonodejs:mainfrom
OPENSSL_IS_BORINGSSL define#58845Conversation
|
Review requested:
|
b20634e to
c06590a
Compare
|
@jasnell looks like openssl itself doesn't have See ex:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58845 +/- ##
==========================================
+ Coverage 90.08% 90.10% +0.02%
==========================================
Files 640 640
Lines 188446 188426 -20
Branches 36960 36953 -7
==========================================
+ Hits 169757 169786 +29
+ Misses 11412 11350 -62
- Partials 7277 7290 +13
🚀 New features to boost your workflow:
|
|
No particular preference @codebytere ... I'd trust whatever you think needs to be done and whatever makes it work for you |
This comment was marked as outdated.
This comment was marked as outdated.
Co-authored-by: Anna Henningsen <github@addaleax.net>
6761d7e to
a0c73cd
Compare
Commit Queue failed- Loading data for nodejs/node/pull/58845 ✔ Done loading data for nodejs/node/pull/58845 ----------------------------------- PR info ------------------------------------ Title crypto: fix inclusion of `OPENSSL_IS_BORINGSSL` define (#58845) Author Shelley Vohr <shelley.vohr@gmail.com> (@codebytere) Branch codebytere:fix-have-crypto -> nodejs:main Labels c++ Commits 2 - crypto: fix inclusion of OPENSSL_IS_BORINGSSL define - Update src/node_config.cc Committers 1 - Shelley Vohr <shelley.vohr@gmail.com> PR-URL: https://github.com/nodejs/node/pull/58845 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/58845 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> -------------------------------------------------------------------------------- ℹ This PR was created on Thu, 26 Jun 2025 12:59:57 GMT ✔ Approvals: 5 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/58845#pullrequestreview-2970781596 ✔ - Juan José Arboleda (@juanarbol): https://github.com/nodejs/node/pull/58845#pullrequestreview-2962886452 ✔ - Anna Henningsen (@addaleax): https://github.com/nodejs/node/pull/58845#pullrequestreview-2967069855 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/58845#pullrequestreview-2967665439 ✔ - Ethan Arrowood (@Ethan-Arrowood): https://github.com/nodejs/node/pull/58845#pullrequestreview-2972085344 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-06-30T18:46:52Z: https://ci.nodejs.org/job/node-test-pull-request/67753/ - Querying data for job/node-test-pull-request/67753/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 58845 From https://github.com/nodejs/node * branch refs/pull/58845/merge -> FETCH_HEAD ✔ Fetched commits as 2022f832a98b..a0c73cda8176 -------------------------------------------------------------------------------- [main 77a12159c6] crypto: fix inclusion of OPENSSL_IS_BORINGSSL define Author: Shelley Vohr <shelley.vohr@gmail.com> Date: Thu Jun 26 14:57:05 2025 +0200 1 file changed, 4 insertions(+) [main baccb14ceb] Update src/node_config.cc Author: Shelley Vohr <shelley.vohr@gmail.com> Date: Mon Jun 30 10:16:10 2025 +0200 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied There are 2 commits in the PR. Attempting autorebase. Rebasing (2/4) Executing: git node land --amend --yes --------------------------------- New Message ---------------------------------- crypto: fix inclusion of OPENSSL_IS_BORINGSSL definehttps://github.com/nodejs/node/actions/runs/15993773799 |
|
Landed in a7a37c3 |
PR-URL: #58845 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Richard Lau <rlau@redhat.com>
PR-URL: #58845 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Richard Lau <rlau@redhat.com>
PR-URL: #58845 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Richard Lau <rlau@redhat.com>
* chore: bump node in DEPS to v22.18.0 * crypto: fix inclusion of OPENSSL_IS_BORINGSSL define nodejs/node#58845 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58960 * permission: propagate permission model flags on spawn nodejs/node#58853 * esm: syncify default path of ModuleLoader\.load nodejs/node#57419 * src: remove fast API for InternalModuleStat nodejs/node#58489 * src: simplify adding fast APIs to ExternalReferenceRegistry nodejs/node#58896 * chore: fixup patch indices * src: fix internalModuleStat v8 fast path nodejs/node#58054 * test: add tests to ensure that node.1 is kept in sync with cli.md nodejs/node#58878 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58942 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: bump node in DEPS to v22.18.0 * crypto: fix inclusion of OPENSSL_IS_BORINGSSL define nodejs/node#58845 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58960 * permission: propagate permission model flags on spawn nodejs/node#58853 * esm: syncify default path of ModuleLoader\.load nodejs/node#57419 * src: remove fast API for InternalModuleStat nodejs/node#58489 * src: simplify adding fast APIs to ExternalReferenceRegistry nodejs/node#58896 * chore: fixup patch indices * src: fix internalModuleStat v8 fast path nodejs/node#58054 * test: add tests to ensure that node.1 is kept in sync with cli.md nodejs/node#58878 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58942 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
chore: bump node to v22.18.0 (main) (#47937) * chore: bump node in DEPS to v22.18.0 * crypto: fix inclusion of OPENSSL_IS_BORINGSSL define nodejs/node#58845 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58960 * permission: propagate permission model flags on spawn nodejs/node#58853 * esm: syncify default path of ModuleLoader\.load nodejs/node#57419 * src: remove fast API for InternalModuleStat nodejs/node#58489 * src: simplify adding fast APIs to ExternalReferenceRegistry nodejs/node#58896 * chore: fixup patch indices * src: fix internalModuleStat v8 fast path nodejs/node#58054 * test: add tests to ensure that node.1 is kept in sync with cli.md nodejs/node#58878 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58942 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: bump node in DEPS to v22.18.0 * crypto: fix inclusion of OPENSSL_IS_BORINGSSL define nodejs/node#58845 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58960 * permission: propagate permission model flags on spawn nodejs/node#58853 * esm: syncify default path of ModuleLoader\.load nodejs/node#57419 * src: remove fast API for InternalModuleStat nodejs/node#58489 * src: simplify adding fast APIs to ExternalReferenceRegistry nodejs/node#58896 * chore: fixup patch indices * src: fix internalModuleStat v8 fast path nodejs/node#58054 * test: add tests to ensure that node.1 is kept in sync with cli.md nodejs/node#58878 * crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4 nodejs/node#58942 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>

Refs #58387.
Fixes
OPENSSL_IS_BORINGSSLnot being defined in cases where it should be due to missing include. See relevant BoringSSL file