Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup old ssl code #28085

Closed
wants to merge 2 commits into from
Closed

Conversation

sam-github
Copy link
Contributor

test: remove workaround for unsupported OpenSSLs

Workaround added in d9b9229d98afb4b is no longer needed, since OpenSSL
versions lower than 1.1.1 are unsupported.

and

src: remove TLS code for unsupported OpenSSLs

Versions of OpenSSL lower than 1.1.1 are no longer supported, so remove
ifdefs for previous versions.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@mscdex
Copy link
Contributor

mscdex commented Jun 6, 2019

Is this true when using system copies of OpenSSL? I don't remember if there was ever a decision about this.

@sam-github
Copy link
Contributor Author

It was discussed, I can dig the conversation up if I have to (perhaps in the TSC PR on the openssl strategy? or the tls1.3 PR? or the tls1.3 "help wanted" issue?), but if you try you will find that node >= 12.x does not compile against openssl < 1.1.1.

@sam-github
Copy link
Contributor Author

And by "does not compile" I mean "did not compile even before this PR" (just to be clear).

@sam-github
Copy link
Contributor Author

@mscdex FYI, errors in node master for build of node_crypto.cc against openssl 1.1.0: https://gist.github.com/sam-github/75f33f84b39e822f6e06e87c16e83ab3

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@sam-github
Copy link
Contributor Author

@mscdex Did I address your concerns? Can you review, please?

@nodejs-github-bot
Copy link
Collaborator

Versions of OpenSSL lower than 1.1.1 are no longer supported, so remove
ifdefs for previous versions.
Workaround added in d9b9229 is no longer needed, since OpenSSL
versions lower than 1.1.1 are unsupported.
@sam-github sam-github force-pushed the cleanup-old-ssl-code branch from ee9a65e to cd8cf1a Compare June 7, 2019 18:03
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@addaleax addaleax added crypto Issues and PRs related to the crypto subsystem. tls Issues and PRs related to the tls subsystem. dont-land-on-v10.x labels Jun 10, 2019
@addaleax
Copy link
Member

Landed in 94a7c2a ba7551c

I’ve added dont-land-on labels for v8.x and v10.x, please correct this if it’s inaccurate.

@addaleax addaleax closed this Jun 10, 2019
addaleax pushed a commit that referenced this pull request Jun 10, 2019
Versions of OpenSSL lower than 1.1.1 are no longer supported, so remove
ifdefs for previous versions.

PR-URL: #28085
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
addaleax pushed a commit that referenced this pull request Jun 10, 2019
Workaround added in d9b9229 is no longer needed, since OpenSSL
versions lower than 1.1.1 are unsupported.

PR-URL: #28085
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@sam-github sam-github deleted the cleanup-old-ssl-code branch June 10, 2019 20:22
@sam-github
Copy link
Contributor Author

@addaleax Confirmed: should not land on 10.x and 8.x, they support external openssl < 1.1.1

BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
Versions of OpenSSL lower than 1.1.1 are no longer supported, so remove
ifdefs for previous versions.

PR-URL: #28085
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
Workaround added in d9b9229 is no longer needed, since OpenSSL
versions lower than 1.1.1 are unsupported.

PR-URL: #28085
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@BridgeAR BridgeAR mentioned this pull request Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Issues and PRs related to the crypto subsystem. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants