mirror of https://github.com/Jackett/Jackett
Revert "HttpWebClient: Add certificate whitelist warnning"
This reverts commit b9d3592f3a
.
This commit is contained in:
parent
3011f22101
commit
a8f80ca60e
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue