🎨
This commit is contained in:
parent
e5648072dc
commit
110611f242
1 changed files with 3 additions and 3 deletions
|
@ -81,9 +81,9 @@ void ShowCertificateTrust(atom::NativeWindow* parent_window,
|
||||||
NULL,
|
NULL,
|
||||||
&chain_context)) {
|
&chain_context)) {
|
||||||
auto error_status = chain_context->TrustStatus.dwErrorStatus;
|
auto error_status = chain_context->TrustStatus.dwErrorStatus;
|
||||||
if (error_status == CERT_TRUST_IS_SELF_SIGNED
|
if (error_status == CERT_TRUST_IS_SELF_SIGNED ||
|
||||||
|| error_status == CERT_TRUST_IS_UNTRUSTED_ROOT) {
|
error_status == CERT_TRUST_IS_UNTRUSTED_ROOT) {
|
||||||
// this is the only scenario we're interested in supporting
|
// these are the only scenarios we're interested in supporting
|
||||||
AddToTrustedRootStore(cert_context, cert);
|
AddToTrustedRootStore(cert_context, cert);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue