crypto: load PFX chain the same way as regular one
authorFedor Indutny <fedor@indutny.com>
Sat, 5 Dec 2015 21:53:30 +0000 (16:53 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:31 +0000 (11:52 -0800)
commitd19da6638d840eef076a96356dfc4d6adef442dc
tree0723dac614941546db63f544e2a6a9bc87a74827
parentdb0e906fc197f92e5c9f36fef0440946c4c96212
crypto: load PFX chain the same way as regular one

Load the certificate chain from the PFX file the same as we do it for a
regular certificate chain.

Fix: #4127
PR-URL: https://github.com/nodejs/node/pull/4165
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
src/node_crypto.cc
test/fixtures/keys/Makefile
test/fixtures/keys/agent1-pfx.pem [new file with mode: 0644]
test/parallel/test-tls-ocsp-callback.js