summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/decrypt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src/commands/decrypt.rs')
-rw-r--r--tool/src/commands/decrypt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs
index 444f1cbd..48b14e46 100644
--- a/tool/src/commands/decrypt.rs
+++ b/tool/src/commands/decrypt.rs
@@ -67,7 +67,7 @@ impl<'a> Helper<'a> {
for skb in tsk.subkeys() {
let key = skb.key();
- if can_encrypt(key, skb.binding_signature()) {
+ if can_encrypt(key, skb.binding_signature(None)) {
let id = key.fingerprint().to_keyid();
keys.insert(id.clone(), key.clone().into());
identities.insert(id.clone(), tsk.fingerprint());