summary refs log tree commit diff
path: root/crypto/src/crmf
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2019-05-14 15:53:44 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2019-05-14 15:53:44 +0700
commit44a7f530bd7b42449072349e956cfef25f9f3ff6 (patch)
tree897bde008303f9d93c39848eaa71b67e1f47d04c /crypto/src/crmf
parentIncrease zlib default buffer size (diff)
downloadBouncyCastle.NET-ed25519-44a7f530bd7b42449072349e956cfef25f9f3ff6.tar.xz
Default saltLength to 20
Diffstat (limited to 'crypto/src/crmf')
-rw-r--r--crypto/src/crmf/PKMacBuilder.cs3
1 files changed, 1 insertions, 2 deletions
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;
 
         /// <summary>