summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-04-08 10:25:17 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-04-08 21:37:43 +0200
commitc3c4beee4db2901631322f99fcfec8c87446e426 (patch)
tree496d7816c291904d0429e439a9e4d2aba3c303d4 /openpgp-ffi
parent1b0636353b64c3fe451e98ed99b8f9239ca9f91f (diff)
openpgp: Add some type aliases.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/src/amalgamation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/src/amalgamation.rs b/openpgp-ffi/src/amalgamation.rs
index 248fe24f..c737da0c 100644
--- a/openpgp-ffi/src/amalgamation.rs
+++ b/openpgp-ffi/src/amalgamation.rs
@@ -26,7 +26,7 @@ use crate::maybe_time;
/// A local alias to appease the proc macro transformation.
type UserIDAmalgamationType<'a>
- = openpgp::cert::amalgamation::ComponentAmalgamation<'a, openpgp::packet::UserID>;
+ = openpgp::cert::amalgamation::UserIDAmalgamation<'a>;
/// A `UserIDAmalgamation` holds a `UserID` and associated data.
///
@@ -49,7 +49,7 @@ pub extern "C" fn pgp_user_id_amalgamation_user_id<'a>(ua: *const UserIDAmalgama
/// A local alias to appease the proc macro transformation.
type ValidUserIDAmalgamationType<'a>
- = openpgp::cert::amalgamation::ValidComponentAmalgamation<'a, openpgp::packet::UserID>;
+ = openpgp::cert::amalgamation::ValidUserIDAmalgamation<'a>;
/// A `ValidUserIDAmalgamation` holds a `UserID` and associated data
/// including a policy and a reference time.