summary refs log tree commit diff
path: root/crypto/test/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2016-06-25 02:24:33 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2016-06-25 02:24:33 +0700
commitbb2b60811f0010ff0bff4a1acdd866087c179073 (patch)
tree041763e843d10190fef36a9591da9b3204c2e63b /crypto/test/src
parentImprove ZInputStream/ZOutputStream constructors (diff)
downloadBouncyCastle.NET-ed25519-bb2b60811f0010ff0bff4a1acdd866087c179073.tar.xz
Avoid locale-dependent date-time string comparison in test
Diffstat (limited to 'crypto/test/src')
-rw-r--r--crypto/test/src/test/nist/NistCertPathTest.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/test/src/test/nist/NistCertPathTest.cs b/crypto/test/src/test/nist/NistCertPathTest.cs
index fed98a778..6a23cac22 100644
--- a/crypto/test/src/test/nist/NistCertPathTest.cs
+++ b/crypto/test/src/test/nist/NistCertPathTest.cs
@@ -185,8 +185,10 @@ namespace Org.BouncyCastle.Tests.Nist
 				new string[] { "NegativeSerialNumberCACert", "InvalidNegativeSerialNumberTest15EE" },
 				new string[] { TRUST_ANCHOR_ROOT_CRL, "NegativeSerialNumberCACRL" },
 				0,
-				"Certificate revocation after Thu Apr 19 14:57:20",
-				"reason: keyCompromise");
+                // NOTE: Date/time part is locale-dependent
+                //"Certificate revocation after Thu Apr 19 14:57:20",
+                "Certificate revocation after",
+                "reason: keyCompromise");
 		}
 
 		//