summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-04-23 14:58:29 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-04-23 14:58:29 +0700
commit90b28c204eba44ba99503761b3669489443c2a88 (patch)
tree9bf29a88ffb5bf4cc85f7b0f00ca44dfa6f0282f /crypto/src/asn1
parentAdd TODOs (diff)
downloadBouncyCastle.NET-ed25519-90b28c204eba44ba99503761b3669489443c2a88.tar.xz
Add implementation note from bc-java
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r--crypto/src/asn1/x509/X509Extensions.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/asn1/x509/X509Extensions.cs b/crypto/src/asn1/x509/X509Extensions.cs
index b5906c2e1..5d83ecdc6 100644
--- a/crypto/src/asn1/x509/X509Extensions.cs
+++ b/crypto/src/asn1/x509/X509Extensions.cs
@@ -229,6 +229,8 @@ namespace Org.BouncyCastle.Asn1.X509
         {
             m_ordering = new List<DerObjectIdentifier>();
 
+            // Don't require empty sequence; we see empty extension blocks in the wild
+
 			foreach (Asn1Encodable ae in seq)
 			{
 				Asn1Sequence s = Asn1Sequence.GetInstance(ae.ToAsn1Object());