diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-02-12 12:32:36 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-02-12 15:12:21 +0100 |
commit | b0648d984bc618686a18d5e0a5173c16b2328549 (patch) | |
tree | e09b99d4fd9cceea8eb064f6a2267d5df757e5b8 /tool/src/commands/decrypt.rs | |
parent | e5d72b7c92d5af171855c8267c57f5e33ff6cc2e (diff) |
openpgp: Add optional cipher argument to PKESK3::decrypt.
Diffstat (limited to 'tool/src/commands/decrypt.rs')
-rw-r--r-- | tool/src/commands/decrypt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs index ba71689e..410c24d2 100644 --- a/tool/src/commands/decrypt.rs +++ b/tool/src/commands/decrypt.rs @@ -92,7 +92,7 @@ impl<'a> Helper<'a> { where D: FnMut(SymmetricAlgorithm, &SessionKey) -> openpgp::Result<()> { let keyid = keypair.public().fingerprint().into(); - match pkesk.decrypt(keypair) + match pkesk.decrypt(keypair, None) .and_then(|(algo, sk)| { decrypt(algo, &sk)?; Ok(sk) }) |