From 55dd3f67e85c1b56fa1ccb8e6b16a32b14d999d6 Mon Sep 17 00:00:00 2001 From: Aleksandr Gavrilov Date: Thu, 24 May 2018 12:29:47 +0300 Subject: [PATCH] install trusted certificates only on windows --- deps/wrapper/src/utils/csp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/wrapper/src/utils/csp.cpp b/deps/wrapper/src/utils/csp.cpp index e328792..f8ff2f9 100644 --- a/deps/wrapper/src/utils/csp.cpp +++ b/deps/wrapper/src/utils/csp.cpp @@ -1720,6 +1720,9 @@ void Csp::importPkcs12(Handle p12, Handle password) { storeName = L"MY"; } else if (hcert->isCA()) { +#ifndef OPENSSL_SYS_WINDOWS + continue; +#endif if (hcert->isSelfSigned()) { storeName = L"ROOT"; }