GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — crypto: use `OPENSSL_SIZE_T` instead of hard coding `int` by aduh95 · Pull Request #66752 · nodejs/node Conversation
Contributor
This fixes the following warnings when building against boringssl:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsSigned-off-by: Antoine du Hamel <[email protected]>
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
panva
approved these changes
pimterry
approved these changes
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
4 tasks done
dsanders11
added a commit
to electron/electron
that referenced
this pull request
* chore: adopt nodejs/node#66752 in BoringSSL node patch Rework fix_handle_boringssl_and_openssl_incompatibilities.patch to carry the OPENSSL_SIZE_T changes from nodejs/node#66752 verbatim instead of Electron's own size_t edits, so the patch drops out cleanly once Electron updates to a Node.js version that includes it. Also drop the `#if 0` guards in src/node_metadata.h and src/node_options.h, restoring upstream's `#if HAVE_OPENSSL`. BoringSSL provides the OpenSSL headers they include and the quic guard keeps openssl/quic.h out, so the guards are no longer needed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * fix: add BoringSSL include path to node snapshot targets With the `#if 0` guards gone, src/node_options.h and src/node_metadata.h include <openssl/opensslv.h> and <openssl/crypto.h> again whenever HAVE_OPENSSL is set. The :node_snapshot and :node_snapshot_stub source sets get HAVE_OPENSSL=1 from :node_internal_config but did not depend on //third_party/boringssl, so they had no BoringSSL include path and the Windows build failed with "'openssl/opensslv.h' file not found" when compiling node_snapshot.cc. Depend on //third_party/boringssl from both targets when node_use_openssl is set, so they see the same headers as libnode. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * chore: use $node_openssl_path for node snapshot OpenSSL dep Depend on "$node_openssl_path" rather than hard-coding //third_party/boringssl in the :node_snapshot and :node_snapshot_stub targets, matching how upstream's unofficial.gni references OpenSSL. Electron sets node_openssl_path = "//third_party/boringssl" in build/args/all.gn, so the resolved dependency is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv --------- Co-authored-by: Claude <[email protected]>
MarshallOfSound
pushed a commit
to electron/electron
that referenced
this pull request
chore: rework BoringSSL with Node.js incompatibilities patch (#55037) * chore: adopt nodejs/node#66752 in BoringSSL node patch Rework fix_handle_boringssl_and_openssl_incompatibilities.patch to carry the OPENSSL_SIZE_T changes from nodejs/node#66752 verbatim instead of Electron's own size_t edits, so the patch drops out cleanly once Electron updates to a Node.js version that includes it. Also drop the `#if 0` guards in src/node_metadata.h and src/node_options.h, restoring upstream's `#if HAVE_OPENSSL`. BoringSSL provides the OpenSSL headers they include and the quic guard keeps openssl/quic.h out, so the guards are no longer needed. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * fix: add BoringSSL include path to node snapshot targets With the `#if 0` guards gone, src/node_options.h and src/node_metadata.h include <openssl/opensslv.h> and <openssl/crypto.h> again whenever HAVE_OPENSSL is set. The :node_snapshot and :node_snapshot_stub source sets get HAVE_OPENSSL=1 from :node_internal_config but did not depend on //third_party/boringssl, so they had no BoringSSL include path and the Windows build failed with "'openssl/opensslv.h' file not found" when compiling node_snapshot.cc. Depend on //third_party/boringssl from both targets when node_use_openssl is set, so they see the same headers as libnode. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * chore: use $node_openssl_path for node snapshot OpenSSL dep Depend on "$node_openssl_path" rather than hard-coding //third_party/boringssl in the :node_snapshot and :node_snapshot_stub targets, matching how upstream's unofficial.gni references OpenSSL. Electron sets node_openssl_path = "//third_party/boringssl" in build/args/all.gn, so the resolved dependency is unchanged. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv --------- (cherry picked from commit deec352) Claude-Session: https://claude.ai/code/session_01FEtfbdwkKabsmYWAF8Sqsw Co-authored-by: Claude <[email protected]>
MarshallOfSound
pushed a commit
to electron/electron
that referenced
this pull request
chore: rework BoringSSL with Node.js incompatibilities patch (#55037) * chore: adopt nodejs/node#66752 in BoringSSL node patch Rework fix_handle_boringssl_and_openssl_incompatibilities.patch to carry the OPENSSL_SIZE_T changes from nodejs/node#66752 verbatim instead of Electron's own size_t edits, so the patch drops out cleanly once Electron updates to a Node.js version that includes it. Also drop the `#if 0` guards in src/node_metadata.h and src/node_options.h, restoring upstream's `#if HAVE_OPENSSL`. BoringSSL provides the OpenSSL headers they include and the quic guard keeps openssl/quic.h out, so the guards are no longer needed. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * fix: add BoringSSL include path to node snapshot targets With the `#if 0` guards gone, src/node_options.h and src/node_metadata.h include <openssl/opensslv.h> and <openssl/crypto.h> again whenever HAVE_OPENSSL is set. The :node_snapshot and :node_snapshot_stub source sets get HAVE_OPENSSL=1 from :node_internal_config but did not depend on //third_party/boringssl, so they had no BoringSSL include path and the Windows build failed with "'openssl/opensslv.h' file not found" when compiling node_snapshot.cc. Depend on //third_party/boringssl from both targets when node_use_openssl is set, so they see the same headers as libnode. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * chore: use $node_openssl_path for node snapshot OpenSSL dep Depend on "$node_openssl_path" rather than hard-coding //third_party/boringssl in the :node_snapshot and :node_snapshot_stub targets, matching how upstream's unofficial.gni references OpenSSL. Electron sets node_openssl_path = "//third_party/boringssl" in build/args/all.gn, so the resolved dependency is unchanged. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv --------- (cherry picked from commit deec352) Claude-Session: https://claude.ai/code/session_01FEtfbdwkKabsmYWAF8Sqsw Co-authored-by: Claude <[email protected]>
MarshallOfSound
pushed a commit
to electron/electron
that referenced
this pull request
chore: rework BoringSSL with Node.js incompatibilities patch (#55037) * chore: adopt nodejs/node#66752 in BoringSSL node patch Rework fix_handle_boringssl_and_openssl_incompatibilities.patch to carry the OPENSSL_SIZE_T changes from nodejs/node#66752 verbatim instead of Electron's own size_t edits, so the patch drops out cleanly once Electron updates to a Node.js version that includes it. Also drop the `#if 0` guards in src/node_metadata.h and src/node_options.h, restoring upstream's `#if HAVE_OPENSSL`. BoringSSL provides the OpenSSL headers they include and the quic guard keeps openssl/quic.h out, so the guards are no longer needed. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * fix: add BoringSSL include path to node snapshot targets With the `#if 0` guards gone, src/node_options.h and src/node_metadata.h include <openssl/opensslv.h> and <openssl/crypto.h> again whenever HAVE_OPENSSL is set. The :node_snapshot and :node_snapshot_stub source sets get HAVE_OPENSSL=1 from :node_internal_config but did not depend on //third_party/boringssl, so they had no BoringSSL include path and the Windows build failed with "'openssl/opensslv.h' file not found" when compiling node_snapshot.cc. Depend on //third_party/boringssl from both targets when node_use_openssl is set, so they see the same headers as libnode. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv * chore: use $node_openssl_path for node snapshot OpenSSL dep Depend on "$node_openssl_path" rather than hard-coding //third_party/boringssl in the :node_snapshot and :node_snapshot_stub targets, matching how upstream's unofficial.gni references OpenSSL. Electron sets node_openssl_path = "//third_party/boringssl" in build/args/all.gn, so the resolved dependency is unchanged. Claude-Session: https://claude.ai/code/session_01XoTevKUU5Yqx5KULydnHjv --------- (cherry picked from commit deec352) Claude-Session: https://claude.ai/code/session_01FEtfbdwkKabsmYWAF8Sqsw Co-authored-by: Claude <[email protected]> Uh oh!
There was an error while loading. Please reload this page.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
aduh95
added a commit
that referenced
this pull request
Signed-off-by: Antoine du Hamel <[email protected]> PR-URL: #66752 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Tim Perry <[email protected]>
gabylb
pushed a commit
to gabylb/node
that referenced
this pull request
Signed-off-by: Antoine du Hamel <[email protected]> PR-URL: nodejs#66752 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Tim Perry <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
author ready
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |