Browse Source

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.
v0.11.9-release
Ben Noordhuis 11 years ago
parent
commit
a12870c823
  1. 6
      src/node_crypto.cc
  2. 7043
      src/node_root_certs.h

6
src/node_crypto.cc

@ -24,7 +24,6 @@
#include "node_crypto.h"
#include "node_crypto_bio.h"
#include "node_crypto_groups.h"
#include "node_root_certs.h"
#include "tls_wrap.h" // TLSCallbacks
#include "env.h"
@ -102,6 +101,11 @@ struct ClearErrorOnReturn {
static uv_rwlock_t* locks;
const char* root_certs[] = {
#include "node_root_certs.h" // NOLINT(build/include_order)
NULL
};
X509_STORE* root_cert_store;
// Just to generate static methods

7043
src/node_root_certs.h

File diff suppressed because it is too large
Loading…
Cancel
Save