From 6adfadfc67116ab568768c12e4b97eb92d80d0c9 Mon Sep 17 00:00:00 2001 From: David Hook Date: Mon, 9 Nov 2015 10:24:41 +1100 Subject: fixed argument null message --- crypto/src/crypto/parameters/ParametersWithRandom.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/src/crypto/parameters/ParametersWithRandom.cs b/crypto/src/crypto/parameters/ParametersWithRandom.cs index a05e77409..276dc2666 100644 --- a/crypto/src/crypto/parameters/ParametersWithRandom.cs +++ b/crypto/src/crypto/parameters/ParametersWithRandom.cs @@ -15,7 +15,7 @@ namespace Org.BouncyCastle.Crypto.Parameters SecureRandom random) { if (parameters == null) - throw new ArgumentNullException("random"); + throw new ArgumentNullException("parameters"); if (random == null) throw new ArgumentNullException("random"); -- cgit 1.5.1