Skip to content

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

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
ContributorAuthor

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
ContributorAuthor

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

@sam-github
Copy link
ContributorAuthor

@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
ContributorAuthor

@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-githubsam-githubforce-pushed the cleanup-old-ssl-code branch from ee9a65e to cd8cf1aCompareJune 7, 2019 18:03
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@addaleaxaddaleax 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 94a7c2aba7551c

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

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 <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
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 <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
@sam-githubsam-github deleted the cleanup-old-ssl-code branch June 10, 2019 20:22
@sam-github
Copy link
ContributorAuthor

@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 <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
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 <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
@BridgeARBridgeAR mentioned this pull request Jun 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.tlsIssues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@sam-github@mscdex@nodejs-github-bot@addaleax@apapirovski@bnoordhuis@jasnell@cjihrig