diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-05-20 13:42:58 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-05-20 15:15:26 +0200 |
commit | 29daf7d69ad1db704bb105f4f1fba2d0ca85ecab (patch) | |
tree | 05021b4258539c266b74da9fbdb65a2416b20df4 /tool | |
parent | d7c1901c28d6e51390f7e50c85da68ecfca31642 (diff) |
openpgp: Rename field 'iterations' to 'hash_bytes'.
- 'iterations' is really inappropriate, and even needed an
explanation in the code.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/src/commands/dump.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs index b6849d85..39b37cee 100644 --- a/tool/src/commands/dump.rs +++ b/tool/src/commands/dump.rs @@ -735,11 +735,11 @@ impl PacketDumper { writeln!(output, "{} Hash: {}", i, hash)?; writeln!(output, "{} Salt: {}", i, hex::encode(salt))?; }, - Iterated { hash, ref salt, iterations } => { + Iterated { hash, ref salt, hash_bytes } => { writeln!(output, "Iterated")?; writeln!(output, "{} Hash: {}", i, hash)?; writeln!(output, "{} Salt: {}", i, hex::encode(salt))?; - writeln!(output, "{} Iterations: {}", i, iterations)?; + writeln!(output, "{} Hash bytes: {}", i, hash_bytes)?; }, Private(n) => writeln!(output, "Private({})", n)?, |