PR-URL: https://github.com/nodejs/node/pull/60678 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
10 lines
286 B
JavaScript
10 lines
286 B
JavaScript
'use strict';
|
|
|
|
const tls = require('tls');
|
|
const { parentPort } = require('worker_threads');
|
|
|
|
parentPort.postMessage({
|
|
bundledLen: tls.getCACertificates('bundled').length,
|
|
systemLen: tls.getCACertificates('system').length,
|
|
defaultLen: tls.getCACertificates('default').length,
|
|
});
|