Skip to content

crypto: fix builds with older OpenSSL 3.0 - #66931

Open
panva wants to merge 1 commit into
nodejs:mainfrom
panva:fix-openssl-3.0.2
Open

panva wants to merge 1 commit into
nodejs:mainfrom
panva:fix-openssl-3.0.2

Conversation

@panva

@panva panva commented Oct 22, 2026

Copy link
Copy Markdown
Member

Ubuntu 22.04's default libssl-dev still lacks EVP_PKEY_PRIVATE_KEY even when fully updated. Provide the OpenSSL 3.0.12 definition when the headers do not define it so --shared-openssl builds work.

Fixes: #66926

Ubuntu 22.04's default libssl-dev still lacks EVP_PKEY_PRIVATE_KEY
even when fully updated. Provide the OpenSSL 3.0.12 definition when
the headers do not define it so --shared-openssl builds work.

Fixes: nodejs#66926
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run. labels Oct 22, 2026
@panva panva added the lts-watch-v24.x PRs that may need to be released in v24.x label Oct 22, 2026
@panva panva added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Oct 22, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Oct 22, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. dependencies PRs that add, update, or configure Node.js dependencies. lts-watch-v24.x PRs that may need to be released in v24.x needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: v24.22.1 fails with --shared-openssl on OpenSSL 3.0.x: EVP_PKEY_PRIVATE_KEY not declared (deps/ncrypto)

3 participants