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

Commit

Permalink
crypto: update root certificates
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bnoordhuis committed Nov 9, 2013
1 parent d4c09f2 commit a12870c
Show file tree
Hide file tree
Showing 2 changed files with 3,564 additions and 3,587 deletions.
6 changes: 5 additions & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit a12870c

Please sign in to comment.