tls: load all CRLs from a PEM bundle by lazerg · Pull Request #65577 · nodejs/node · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 27 additions & 10 deletions src/crypto/crypto_tls_certificates.cc
3 changes: 2 additions & 1 deletion src/crypto/crypto_tls_certificates.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ size_t AddCACertificates(Environment* env,
const ncrypto::BIOPointer& bio,
X509_STORE** cache = nullptr);

// Add one PEM CRL and enable CRL checking.
// Add every PEM CRL in |bio| to the context's certificate store and enable CRL
// checking. Returns false unless every CRL in the bundle was read.
bool AddCRL(Environment* env,
SSL_CTX* ctx,
const ncrypto::BIOPointer& bio,
Expand Down
42 changes: 42 additions & 0 deletions test/parallel/test-tls-crl-bundle.js
Loading