src: unify crypto constant setup#27077
Conversation
089efea to
5cbf9da
Compare
5cbf9da to
f101ada
Compare
DefineCryptoConstants() sets constants from OpenSSL into `crypto.constants`, for crypto and tls. DefineOpenSSLConstants() did exactly the same. Unify them.
f101ada to
7b87ffb
Compare
That's odd, the build failed on https://ci.nodejs.org/job/node-compile-windows/25743/label=win-vs2017-x86/console I resumed. |
|
@nodejs/build #27077 (comment) has happened twice in a row now, see the end of https://ci.nodejs.org/job/node-compile-windows/25746/label=win-vs2017-x86/consoleText, is this a known problem? |
FWIW, both times here appear to be test-rackspace-win2012r2-x64-10. Build history for that host shows 5 consecutive failures that include those two failures, but then the host recovered. I have no idea if it self-healed or if someone intervened. I also don't know if this is a known issue. |
|
@Trott Yes, I see the same thing. Its not clear if something was changed to fix it, but this just passed on Windows, too. Yay? |
|
Landed in a3f30a4 |
DefineCryptoConstants() sets constants from OpenSSL into `crypto.constants`, for crypto and tls. DefineOpenSSLConstants() did exactly the same. Unify them. PR-URL: #27077 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
DefineCryptoConstants() sets constants from OpenSSL into
crypto.constants, for crypto and tls. DefineOpenSSLConstants() didexactly the same. Unify them.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes