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.10.26-release
Ben Noordhuis 11 years ago
committed by Fedor Indutny
parent
commit
09c51d5e40
  1. 7
      src/node_crypto.cc
  2. 7145
      src/node_root_certs.h

7
src/node_crypto.cc

@ -26,7 +26,6 @@
#include "node.h"
#include "node_buffer.h"
#include "string_bytes.h"
#include "node_root_certs.h"
#include <string.h>
#ifdef _MSC_VER
@ -63,6 +62,12 @@ static const int X509_NAME_FLAGS = ASN1_STRFLGS_ESC_CTRL
| XN_FLAG_FN_SN;
namespace node {
const char* root_certs[] = {
#include "node_root_certs.h" // NOLINT(build/include_order)
NULL
};
namespace crypto {
using namespace v8;

7145
src/node_root_certs.h

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