diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-14 15:53:44 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-14 15:53:44 +0700 |
commit | 44a7f530bd7b42449072349e956cfef25f9f3ff6 (patch) | |
tree | 897bde008303f9d93c39848eaa71b67e1f47d04c /crypto/src/crmf | |
parent | Increase zlib default buffer size (diff) | |
download | BouncyCastle.NET-ed25519-44a7f530bd7b42449072349e956cfef25f9f3ff6.tar.xz |
Default saltLength to 20
Diffstat (limited to 'crypto/src/crmf')
-rw-r--r-- | crypto/src/crmf/PKMacBuilder.cs | 3 |
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> |