Skip to content

Conversation

@Jeyanthinath
Copy link
Contributor

Fixes#14430 [v6.x] test: investigate test-fs-read-buffer-tostring-fail

@mscdexmscdex added the fs Issues and PRs related to the fs subsystem / file system. label Jul 26, 2017
@mcollina
Copy link
Member

I'm kind of -1, until my suggestion in #14430 (comment) gets tried out.

sam-githuband others added 3 commits August 1, 2017 02:08
For consistency with 4.x and 8.x. This commit also contains a forward port of nodejs#14232 to confirm that 4.x and 6.x behave identically with respect to the port argument. PR-URL: nodejs#14234 Refs: nodejs#14205 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
root_cert_vector currently has file scope and external linkage, but is only used in the NewRootCertsStore function. If this is not required to be externally linked perhaps it can be changed to be static and function scoped instead. PR-URL: nodejs#12788 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
root_cert_store is defined as extern in node_crypto.h but only used in node_crypto.cc. It is then set using SSL_CTX_set_cert_store. The only usages of SSL_CTX_get_cert_store are in node_crypto.cc which would all be accessing the same X509_STORE through the root_cert_store pointer as far as I can tell. Am I missing something here? This commit suggests removing it from the header and making it static in node_crypto.cc. PR-URL: nodejs#13194 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
@mcollina
Copy link
Member

I think this would require rebasing (again), I'm 👍 in flagging it as flaky.

@refack
Copy link
Contributor

@Jeyanthinath I'll help with the rebasing...

PR-URL: nodejs#14495Fixes: nodejs#14430 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
@refack
Copy link
Contributor

@nodejs/lts I keep forgetting what's the policy on landing to staging, so FYC...

MylesBorins pushed a commit that referenced this pull request Aug 14, 2017
PR-URL: #14495Fixes: #14430 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
@MylesBorins
Copy link
Contributor

landed in 0ae4c46

@refack ftr only backporting team are supposed to be pushing to staging branch, so you did this perfectly, thanks!

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

Labels

fsIssues and PRs related to the fs subsystem / file system.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@Jeyanthinath@mcollina@refack@MylesBorins@cjihrig@sam-github@mscdex@nodejs-github-bot@danbev