summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-04-08 17:15:11 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-04-08 18:58:45 +0200
commit900633af144b23a801ed6837d74c51a9f65d5264 (patch)
tree53995aee948153ac6c6649c478a76ea0d9afdc54 /ipc
parent0ea0bc335bba1108807fd0b016f0a621e23740f0 (diff)
openpgp: Change key's role function names.
- Change `mark_role_primary` to `role_into_primary`. - Change `mark_role_primary_ref` to `role_as_primary`. - Change `mark_role_subordinate` to `role_into_subordinate`. - Change `mark_role_subordinate_ref` to `role_as_subordinate`. - Change `mark_role_unspecified` to `role_into_unspecified`. - Change `mark_role_unspecified_ref` to `role_as_unspecified`. - Fixes #452.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/src/gnupg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/src/gnupg.rs b/ipc/src/gnupg.rs
index a1b4a45c..4b565553 100644
--- a/ipc/src/gnupg.rs
+++ b/ipc/src/gnupg.rs
@@ -701,7 +701,7 @@ impl<'a> KeyPair<'a> {
where R: key::KeyRole
{
Ok(KeyPair {
- public: key.mark_role_unspecified_ref(),
+ public: key.role_as_unspecified(),
agent_socket: ctx.socket("agent")?.into(),
})
}