Commit 16f10a4f authored by justcoding121's avatar justcoding121

cleanup certificate manager

parent 13dba195
......@@ -703,17 +703,18 @@ namespace Titanium.Web.Proxy.Network
if (!CertValidated)
{
CreateRootCertificate();
}
if (UserTrustRoot)
{
TrustRootCertificate(machineTrustRootCertificate);
}
if (UserTrustRoot)
{
TrustRootCertificate(machineTrustRootCertificate);
}
if (MachineTrustRootAsAdministrator)
{
TrustRootCertificateAsAdmin();
}
if (MachineTrustRootAsAdministrator)
{
TrustRootCertificateAsAdmin();
}
}
/// <summary>
......@@ -823,7 +824,7 @@ namespace Titanium.Web.Proxy.Network
ErrorDialog = false,
WindowStyle = ProcessWindowStyle.Hidden
}
});
});
}
var success = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment