src: handle DER decoding errors from system certificates · nodejs/node@7eaf815 · GitHub
Skip to content

Commit 7eaf815

Browse files
joyeecheungRafaelGSS
authored andcommitted
src: handle DER decoding errors from system certificates
When decoding certificates from the system store, it's not actually guaranteed to succeed. In case the system returns a certificate that cannot be decoded (might be related to SSL implementation issues), skip them. PR-URL: #60787 Refs: microsoft/vscode#277064 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aditi Singh <aditisingh1400@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com>
1 parent c2e79aa commit 7eaf815

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

src/crypto/crypto_context.cc

Lines changed: 26 additions & 3 deletions

0 commit comments

Comments
 (0)