summary refs log tree commit diff
diff options
context:
space:
mode:
-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());