Fix the filename used by the VerifyCrlCache test (dotnet/corefx#41173)
authorJeremy Barton <jbarton@microsoft.com>
Wed, 18 Sep 2019 16:37:51 +0000 (09:37 -0700)
committerStephen Toub <stoub@microsoft.com>
Wed, 18 Sep 2019 16:37:51 +0000 (12:37 -0400)
The VerifyCrlCache test, which is a manual test, is looking for the old cache key.
This change updates it to the new cache key, and makes the test pass again.

Commit migrated from https://github.com/dotnet/corefx/commit/395f42ffa645efd067fd790712b48061c0236523

src/libraries/System.Security.Cryptography.X509Certificates/tests/X509FilesystemTests.Unix.cs

index 3f43a9f..c597ece 100644 (file)
@@ -669,8 +669,8 @@ namespace System.Security.Cryptography.X509Certificates.Tests
             }
         }
 
-        // `openssl crl -in [MicrosoftDotComRootCrlPem] -noout -hash`.crl
-        private const string MicrosoftDotComRootCrlFilename = "b204d74a.crl";
+        // `openssl crl -in [MicrosoftDotComRootCrlPem] -noout -hash`.[SHA-256(CDPURL)[0..4].ToHex()].crl
+        private const string MicrosoftDotComRootCrlFilename = "b204d74a.daa2bce5.crl";
 
         // This CRL was downloaded 2015-08-31 20:31 PDT
         // It is valid from Jun 17 00:00:00 2015 GMT to Sep 30 23:59:59 2015 GMT