Commit 16f10a4f authored by justcoding121's avatar justcoding121

cleanup certificate manager

parent 13dba195
...@@ -703,17 +703,18 @@ namespace Titanium.Web.Proxy.Network ...@@ -703,17 +703,18 @@ namespace Titanium.Web.Proxy.Network
if (!CertValidated) if (!CertValidated)
{ {
CreateRootCertificate(); CreateRootCertificate();
}
if (UserTrustRoot) if (UserTrustRoot)
{ {
TrustRootCertificate(machineTrustRootCertificate); TrustRootCertificate(machineTrustRootCertificate);
} }
if (MachineTrustRootAsAdministrator) if (MachineTrustRootAsAdministrator)
{ {
TrustRootCertificateAsAdmin(); TrustRootCertificateAsAdmin();
}
} }
} }
/// <summary> /// <summary>
...@@ -823,7 +824,7 @@ namespace Titanium.Web.Proxy.Network ...@@ -823,7 +824,7 @@ namespace Titanium.Web.Proxy.Network
ErrorDialog = false, ErrorDialog = false,
WindowStyle = ProcessWindowStyle.Hidden WindowStyle = ProcessWindowStyle.Hidden
} }
}); });
} }
var success = true; 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