summary refs log tree commit diff
path: root/crypto/test/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-10-18 13:01:33 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-10-18 13:01:33 +0700
commit1df5b7dd9235428140ae8725e0004072b13e8f99 (patch)
treeda862026de55a008520a3e3c69dbda545f8a140a /crypto/test/src
parentFollowups for the SicBlockCipher changes (diff)
downloadBouncyCastle.NET-ed25519-1df5b7dd9235428140ae8725e0004072b13e8f99.tar.xz
http://www.bouncycastle.org/jira/browse/BMA-128
- Cater for future X.509 versions
Diffstat (limited to 'crypto/test/src')
-rw-r--r--crypto/test/src/asn1/test/CertificateTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/asn1/test/CertificateTest.cs b/crypto/test/src/asn1/test/CertificateTest.cs
index 532e81aba..7fcb1fffa 100644
--- a/crypto/test/src/asn1/test/CertificateTest.cs
+++ b/crypto/test/src/asn1/test/CertificateTest.cs
@@ -212,7 +212,7 @@ namespace Org.BouncyCastle.Asn1.Tests
 					+ " got " + tbsCert.Subject.ToString());
 			}
 
-			if (tbsCert.Version == 3)
+			if (tbsCert.Version >= 3)
 			{
 				X509Extensions ext = tbsCert.Extensions;
 				if (ext != null)