summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-23 13:24:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-23 13:24:28 +0700
commit91d0463fd5bcfd29d8573daac2912c340fba715c (patch)
tree382edefabbe9dd4426afc5c82767a5676f44c3b2 /crypto/test
parentRefactoring in Pqc.Crypto.Sike (diff)
downloadBouncyCastle.NET-ed25519-91d0463fd5bcfd29d8573daac2912c340fba715c.tar.xz
SecureRandom refactoring in Cms
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/cms/test/CMSTestUtil.cs2
1 files changed, 1 insertions, 1 deletions
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));
 		}
 
         /*