From 91d0463fd5bcfd29d8573daac2912c340fba715c Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 23 Oct 2022 13:24:28 +0700 Subject: SecureRandom refactoring in Cms --- crypto/test/src/cms/test/CMSTestUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src') diff --git a/crypto/test/src/cms/test/CMSTestUtil.cs b/crypto/test/src/cms/test/CMSTestUtil.cs index 016260625..e98810c84 100644 --- a/crypto/test/src/cms/test/CMSTestUtil.cs +++ b/crypto/test/src/cms/test/CMSTestUtil.cs @@ -396,7 +396,7 @@ namespace Org.BouncyCastle.Cms.Tests crlGen.AddExtension(X509Extensions.AuthorityKeyIdentifier, false, new AuthorityKeyIdentifierStructure(pair.Public)); - return crlGen.Generate(new Asn1SignatureFactory("SHA256WithRSAEncryption", pair.Private, null)); + return crlGen.Generate(new Asn1SignatureFactory("SHA256WithRSAEncryption", pair.Private, Random)); } /* -- cgit 1.5.1