diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-08-04 00:27:41 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-08-23 19:15:13 +0200 |
commit | 75fb008711f0f80028230018ab37b988175211b4 (patch) | |
tree | b8b950cbed6152f4812f0943125ba6dd8647de93 /tool/src/commands/decrypt.rs | |
parent | 4c6974c62591ef6698447712311edebca9546e5f (diff) |
openpgp: Rename SubkeyBinding to KeyBinding.
- Also rename the `subkey` method to `key`.
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 748f9c7a..2a3424dd 100644 --- a/tool/src/commands/decrypt.rs +++ b/tool/src/commands/decrypt.rs @@ -61,7 +61,7 @@ impl<'a> Helper<'a> { } for skb in tsk.subkeys() { - let key = skb.subkey(); + let key = skb.key(); if can_encrypt(key, skb.binding_signature()) { let id = key.fingerprint().to_keyid(); keys.insert(id.clone(), key.clone()); |