diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-16 15:36:18 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-16 15:36:18 +0700 |
commit | 77cf30c361d5805c9a5745dc9b2cfe3bca157ab5 (patch) | |
tree | c14262516b13ce339c3a621d2f00375a262184ff /crypto | |
parent | Restore some RC4_128 registry entries (only) (diff) | |
download | BouncyCastle.NET-ed25519-77cf30c361d5805c9a5745dc9b2cfe3bca157ab5.tar.xz |
Remove ExtendedKeyUsage from criticalExtensions
see https://github.com/bcgit/bc-csharp/issues/395
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/pkix/PkixCertPathValidator.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/pkix/PkixCertPathValidator.cs b/crypto/src/pkix/PkixCertPathValidator.cs index 431ed8c6d..82b5aa0e5 100644 --- a/crypto/src/pkix/PkixCertPathValidator.cs +++ b/crypto/src/pkix/PkixCertPathValidator.cs @@ -404,6 +404,7 @@ namespace Org.BouncyCastle.Pkix criticalExtensions.Remove(X509Extensions.SubjectAlternativeName.Id); criticalExtensions.Remove(X509Extensions.NameConstraints.Id); criticalExtensions.Remove(X509Extensions.CrlDistributionPoints.Id); + criticalExtensions.Remove(X509Extensions.ExtendedKeyUsage.Id); } else { |