Remove TrustAllCertificatePolicy class because wtf? and no ICertificatePolicy in .NET Core.
If consumers want to use this, they'll need to implement this stupidity themselves.
This commit is contained in:
@@ -33,19 +33,6 @@ using System.Security.Cryptography.X509Certificates;
|
||||
|
||||
namespace OpenMetaverse.Http
|
||||
{
|
||||
public class TrustAllCertificatePolicy : ICertificatePolicy
|
||||
{
|
||||
public bool CheckValidationResult(ServicePoint sp, X509Certificate cert, WebRequest req, int problem)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public static bool TrustAllCertificateHandler(Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static class CapsBase
|
||||
{
|
||||
public delegate void OpenWriteEventHandler(HttpWebRequest request);
|
||||
|
||||
Reference in New Issue
Block a user