From f63398ffe409c326e89dcbffd37c2d8f358d3304 Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Wed, 19 Jul 2023 20:02:29 -0300 Subject: update root certificates and add tls.rootCertificates (#3688) * implement tls.rootCertificates * add test * bump uws/usockets * bump uws + .len on certs --- src/js/node/tls.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/js/node/tls.js') diff --git a/src/js/node/tls.js b/src/js/node/tls.js index 0966b584b..e8c2dd998 100644 --- a/src/js/node/tls.js +++ b/src/js/node/tls.js @@ -677,7 +677,7 @@ function convertALPNProtocols(protocols, out) { out.ALPNProtocols = protocols; } } - +var rootCertificates = $lazy("rootCertificates"); var exports = { [Symbol.for("CommonJS")]: 0, CLIENT_RENEG_LIMIT, @@ -698,6 +698,7 @@ var exports = { Server, TLSSocket, checkServerIdentity, + rootCertificates, }; export { @@ -719,5 +720,6 @@ export { checkServerIdentity, Server, TLSSocket, + rootCertificates, exports as default, }; -- cgit v1.2.3