Revert "HttpWebClient: Add certificate whitelist warnning"

This reverts commit b9d3592f3a.
This commit is contained in:
kaso17 2017-10-17 19:11:32 +02:00
parent 3011f22101
commit a8f80ca60e
2 changed files with 0 additions and 4 deletions

View File

@ -54,8 +54,6 @@ namespace Jackett.Utils.Clients
if (hosts.Contains(request.Host))
return true;
}
if (trustedCertificates.Count > 0)
logger.Warn("Certificate hash {0} for {1} isn't whitelisted (whitelist cleanup needed?)", hash, request.Host);
return sslPolicyErrors == SslPolicyErrors.None;
};
}

View File

@ -84,8 +84,6 @@ namespace Jackett.Utils.Clients
if (hosts.Contains(request.Host))
return true;
}
if (trustedCertificates.Count > 0)
logger.Warn("Certificate hash {0} for {1} isn't whitelisted (whitelist cleanup needed?)", hash, request.Host);
return sslPolicyErrors == SslPolicyErrors.None;
};
}