From 44a7f530bd7b42449072349e956cfef25f9f3ff6 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 14 May 2019 15:53:44 +0700 Subject: Default saltLength to 20 --- crypto/src/crmf/PKMacBuilder.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/src/crmf') diff --git a/crypto/src/crmf/PKMacBuilder.cs b/crypto/src/crmf/PKMacBuilder.cs index 6741177da..b74eb6d18 100644 --- a/crypto/src/crmf/PKMacBuilder.cs +++ b/crypto/src/crmf/PKMacBuilder.cs @@ -93,8 +93,7 @@ namespace Org.BouncyCastle.Crmf private SecureRandom random; private PbmParameter parameters; private int iterationCount; - private int saltLength; - private byte[] salt; + private int saltLength = 20; private int maxIterations; /// -- cgit 1.4.1