Imported Upstream version 5.20.0.180

Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-02-04 20:11:37 +00:00
parent 0e2d47d1c8
commit 0510252385
3360 changed files with 83827 additions and 39243 deletions

View File

@@ -35,7 +35,7 @@ using System;
using System.Security;
using System.Security.Permissions;
#if !INSIDE_CORLIB
#if !INSIDE_CORLIB && !INSIDE_SYSTEM
using System.Net;
#endif
@@ -43,7 +43,7 @@ using Mono.Security.X509.Extensions;
namespace Mono.Security.X509 {
#if INSIDE_CORLIB
#if INSIDE_CORLIB || INSIDE_SYSTEM
internal
#else
public
@@ -203,7 +203,7 @@ namespace Mono.Security.X509 {
// TODO - we should check for CRITICAL but unknown extensions
// X509ChainStatusFlags.InvalidExtension
#if !INSIDE_CORLIB
#if !INSIDE_CORLIB && !INSIDE_SYSTEM
if (ServicePointManager.CheckCertificateRevocationList) {
// TODO - check revocation (CRL, OCSP ...)
// X509ChainStatusFlags.RevocationStatusUnknown