Skip to content

Conversation

danbev
Copy link
Contributor

@danbev danbev commented May 10, 2022

This commit removes the header template files opensslconf.h as it is not
a generated header anymore (configuration.h is the generated header
now).

The motivation for this is that not using opensslconf.h from the OpenSSL
include directory means an addon that includes openssl/ssl.h will get
the following error:

~/.cache/node-gyp/17.8.0/include/node/openssl/macros.h:148:4: error:
 compatibility level"
  148 | #  error "The requested API level higher than the configured
 API compatibility level"

For more details please see #40575.

Fixes: #40575

This commit removes the header template files opensslconf.h as it is not
a generated header anymore (configuration.h is the generated header
now).

The motivation for this is that not using opensslconf.h from the OpenSSL
include directory means an addon that includes openssl/ssl.h will get
the following error:

~/.cache/node-gyp/17.8.0/include/node/openssl/macros.h:148:4: error:
 compatibility level"
  148 | #  error "The requested API level higher than the configured
 API compatibility level"

For more details please see nodejs#40575.

Fixes: nodejs#40575
@nodejs-github-bot nodejs-github-bot added dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency. labels May 10, 2022
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

danbev added a commit that referenced this pull request May 14, 2022
This commit removes the header template files opensslconf.h as it is not
a generated header anymore (configuration.h is the generated header
now).

The motivation for this is that not using opensslconf.h from the OpenSSL
include directory means an addon that includes openssl/ssl.h will get
the following error:

~/.cache/node-gyp/17.8.0/include/node/openssl/macros.h:148:4: error:
 compatibility level"
  148 | #  error "The requested API level higher than the configured
 API compatibility level"

For more details please see #40575.

PR-URL: #43035
Fixes: #40575
Reviewed-By: Michael Dawson <[email protected]>
@danbev
Copy link
Contributor Author

danbev commented May 14, 2022

Landed in 556df3d.

@danbev danbev closed this May 14, 2022
BethGriggs pushed a commit that referenced this pull request May 16, 2022
This commit removes the header template files opensslconf.h as it is not
a generated header anymore (configuration.h is the generated header
now).

The motivation for this is that not using opensslconf.h from the OpenSSL
include directory means an addon that includes openssl/ssl.h will get
the following error:

~/.cache/node-gyp/17.8.0/include/node/openssl/macros.h:148:4: error:
 compatibility level"
  148 | #  error "The requested API level higher than the configured
 API compatibility level"

For more details please see #40575.

PR-URL: #43035
Fixes: #40575
Reviewed-By: Michael Dawson <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request May 16, 2022
@juanarbol
Copy link
Member

This is part of openssl-3, which is not landed in v16.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

node/openssl/ssl.h should compile without any additional defines
4 participants