Skip to content

Commit

Permalink
install trusted certificates only on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
algv committed May 24, 2018
1 parent 0452390 commit 55dd3f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/wrapper/src/utils/csp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1720,6 +1720,9 @@ void Csp::importPkcs12(Handle<Pkcs12> p12, Handle<std::string> password) {
storeName = L"MY";
}
else if (hcert->isCA()) {
#ifndef OPENSSL_SYS_WINDOWS
continue;
#endif
if (hcert->isSelfSigned()) {
storeName = L"ROOT";
}
Expand Down

0 comments on commit 55dd3f6

Please sign in to comment.