diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs index 3d3a768..c3f6d6b 100644 --- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | |||
@@ -504,14 +504,6 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
504 | if ((((int)sslPolicyErrors) & ~4) != 0) | 504 | if ((((int)sslPolicyErrors) & ~4) != 0) |
505 | return false; | 505 | return false; |
506 | 506 | ||
507 | // Check for policy and execute it if defined | ||
508 | #pragma warning disable 0618 | ||
509 | if (ServicePointManager.CertificatePolicy != null) | ||
510 | { | ||
511 | return ServicePointManager.CertificatePolicy.CheckValidationResult (sp, certificate, Request, 0); | ||
512 | } | ||
513 | #pragma warning restore 0618 | ||
514 | |||
515 | return true; | 507 | return true; |
516 | } | 508 | } |
517 | 509 | ||