From 1df5b7dd9235428140ae8725e0004072b13e8f99 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 18 Oct 2015 13:01:33 +0700 Subject: http://www.bouncycastle.org/jira/browse/BMA-128 - Cater for future X.509 versions --- crypto/test/src/asn1/test/CertificateTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test') 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) -- cgit 1.4.1