summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/s2k.rs
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-03-25 12:19:35 +0100
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-03-26 18:33:21 +0100
commit70a96487b25557c3b1ffcba4b61cc1140e76935a (patch)
tree3846c7680a75047b81fe3b8307da47d4a4b0c080 /openpgp/src/crypto/s2k.rs
parent89337646884b59c894329432eea960be4b3e335e (diff)
Remove redundant field names.
Diffstat (limited to 'openpgp/src/crypto/s2k.rs')
-rw-r--r--openpgp/src/crypto/s2k.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/s2k.rs b/openpgp/src/crypto/s2k.rs
index d738a37d..8dff4693 100644
--- a/openpgp/src/crypto/s2k.rs
+++ b/openpgp/src/crypto/s2k.rs
@@ -64,7 +64,7 @@ impl Default for S2K {
// SHA2-512. Furthermore, the digest size is large enough
// for every cipher algorithm currently in use.
hash: HashAlgorithm::SHA256,
- salt: salt,
+ salt,
// This is the largest count that OpenPGP can represent.
// On moderate machines, like my Intel(R) Core(TM) i5-2400
// CPU @ 3.10GHz, it takes ~354ms to derive a key.