From bb2b60811f0010ff0bff4a1acdd866087c179073 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 25 Jun 2016 02:24:33 +0700 Subject: Avoid locale-dependent date-time string comparison in test --- crypto/test/src/test/nist/NistCertPathTest.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crypto') 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"); } // -- cgit 1.5.1