summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-02-16 15:36:18 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-16 15:36:18 +0700
commit77cf30c361d5805c9a5745dc9b2cfe3bca157ab5 (patch)
treec14262516b13ce339c3a621d2f00375a262184ff /crypto
parentRestore some RC4_128 registry entries (only) (diff)
downloadBouncyCastle.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.cs1
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
             {