Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit a12870c

Browse files
committed
crypto: update root certificates
Update the list of root certificates in src/node_root_certs.h with tools/mk-ca-bundle.pl and update src/node_crypto.cc to make use of the new format. Fixes #6013.
1 parent d4c09f2 commit a12870c

2 files changed

Lines changed: 3564 additions & 3587 deletions

File tree

src/node_crypto.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "node_crypto.h"
2525
#include "node_crypto_bio.h"
2626
#include "node_crypto_groups.h"
27-
#include "node_root_certs.h"
2827
#include "tls_wrap.h" // TLSCallbacks
2928

3029
#include "env.h"
@@ -102,6 +101,11 @@ struct ClearErrorOnReturn {
102101

103102
static uv_rwlock_t* locks;
104103

104+
const char* root_certs[] = {
105+
#include "node_root_certs.h" // NOLINT(build/include_order)
106+
NULL
107+
};
108+
105109
X509_STORE* root_cert_store;
106110

107111
// Just to generate static methods

0 commit comments

Comments
 (0)