summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-04-10 09:41:37 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-04-10 09:41:37 +0200
commita4b60f7f3e98b456d22b88ce3e93d68bd5a296f5 (patch)
treea2ecc16c61934b2896c0404f4db387f615c86a99 /openpgp-ffi/src
parent2e1eec5fe4157a391a13554ff7df3075cfe043cc (diff)
openpgp: Make cert::amalgamation::key a public module
- Make `cert::amalgamation::key` a public module. - Move `cert::amalgamation::keyiter` to `cert::amalgamation::key::iter`. Have `cert::amalgamation::key` export its public symbols.
Diffstat (limited to 'openpgp-ffi/src')
-rw-r--r--openpgp-ffi/src/key_amalgamation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/src/key_amalgamation.rs b/openpgp-ffi/src/key_amalgamation.rs
index e85e43d3..1c5ff534 100644
--- a/openpgp-ffi/src/key_amalgamation.rs
+++ b/openpgp-ffi/src/key_amalgamation.rs
@@ -30,7 +30,7 @@ use crate::maybe_time;
/// A local alias to appease the proc macro transformation.
type ErasedKeyAmalgamation<'a> =
- openpgp::cert::amalgamation::ErasedKeyAmalgamation<'a, key::UnspecifiedParts>;
+ openpgp::cert::amalgamation::key::ErasedKeyAmalgamation<'a, key::UnspecifiedParts>;
/// A `KeyAmalgamation` holds a `Key` and associated data.
///
@@ -43,7 +43,7 @@ pub struct KeyAmalgamation<'a>(ErasedKeyAmalgamation<'a>);
/// A local alias to appease the proc macro transformation.
type ValidErasedKeyAmalgamation<'a> =
- openpgp::cert::amalgamation::ValidErasedKeyAmalgamation<'a, key::UnspecifiedParts>;
+ openpgp::cert::amalgamation::key::ValidErasedKeyAmalgamation<'a, key::UnspecifiedParts>;
/// Returns a reference to the `Key`.
#[::sequoia_ffi_macros::extern_fn] #[no_mangle]