Unverified Commit 3adf9856 authored by mohammadlachgar's avatar mohammadlachgar Committed by GitHub

Delete spaces and new lines(entr)

parent 7f5b5d52
......@@ -455,9 +455,7 @@ namespace Titanium.Web.Proxy.Network
{
try
{
if ((isRootCertificate == false) && (saveFakeCertificates == true)) {
string path = GetCertPath();
string subjectName = System.Text.RegularExpressions.Regex.Replace(certificateName, @"^CN\s*=\s*", "", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
subjectName = subjectName.Replace("*", "$x$");
......@@ -480,12 +478,8 @@ namespace Titanium.Web.Proxy.Network
}
}
else {
certificate = this.makeCertificate(certificateName, isRootCertificate);
}
}
catch (Exception e)
{
......
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