diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-04-08 17:15:11 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-04-08 18:58:45 +0200 |
commit | 900633af144b23a801ed6837d74c51a9f65d5264 (patch) | |
tree | 53995aee948153ac6c6649c478a76ea0d9afdc54 /openpgp/src/serialize/stream.rs | |
parent | 0ea0bc335bba1108807fd0b016f0a621e23740f0 (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 'openpgp/src/serialize/stream.rs')
-rw-r--r-- | openpgp/src/serialize/stream.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs index 05022d58..856914b3 100644 --- a/openpgp/src/serialize/stream.rs +++ b/openpgp/src/serialize/stream.rs @@ -1610,7 +1610,7 @@ impl<'a> Recipient<'a> { { Recipient { keyid, - key: key.parts_as_public().mark_role_unspecified_ref(), + key: key.parts_as_public().role_as_unspecified(), } } |