diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-06-25 02:24:33 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-06-25 02:24:33 +0700 |
commit | bb2b60811f0010ff0bff4a1acdd866087c179073 (patch) | |
tree | 041763e843d10190fef36a9591da9b3204c2e63b | |
parent | Improve ZInputStream/ZOutputStream constructors (diff) | |
download | BouncyCastle.NET-ed25519-bb2b60811f0010ff0bff4a1acdd866087c179073.tar.xz |
Avoid locale-dependent date-time string comparison in test
-rw-r--r-- | crypto/test/src/test/nist/NistCertPathTest.cs | 6 |
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"); } // |