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.
This commit is contained in:
parent
d4c09f20c8
commit
a12870c823
@ -24,7 +24,6 @@
|
|||||||
#include "node_crypto.h"
|
#include "node_crypto.h"
|
||||||
#include "node_crypto_bio.h"
|
#include "node_crypto_bio.h"
|
||||||
#include "node_crypto_groups.h"
|
#include "node_crypto_groups.h"
|
||||||
#include "node_root_certs.h"
|
|
||||||
#include "tls_wrap.h" // TLSCallbacks
|
#include "tls_wrap.h" // TLSCallbacks
|
||||||
|
|
||||||
#include "env.h"
|
#include "env.h"
|
||||||
@ -102,6 +101,11 @@ struct ClearErrorOnReturn {
|
|||||||
|
|
||||||
static uv_rwlock_t* locks;
|
static uv_rwlock_t* locks;
|
||||||
|
|
||||||
|
const char* root_certs[] = {
|
||||||
|
#include "node_root_certs.h" // NOLINT(build/include_order)
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
X509_STORE* root_cert_store;
|
X509_STORE* root_cert_store;
|
||||||
|
|
||||||
// Just to generate static methods
|
// Just to generate static methods
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user