diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-04-03 21:50:10 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-04-03 21:50:10 +0200 |
commit | 488985f8f2e119c553f2d03d8bd87d49f45d8227 (patch) | |
tree | cdccc226c38ed65f78a08a73ea5943665d54392f /openpgp-ffi | |
parent | 6dfc495afcbb1e376eee7ac62f5e13e9299bc44e (diff) |
openpgp: Rename ComponentBundleIter to ComponentAmalgamationIter.
- Rename `ComponentBundleIter` to `ComponentAmalgamationIter` and
`ValidComponentBundleIter` to `ValidComponentAmalgamationIter`.
- Move module from cert::bundle to cert::amalgamation.
- Fixes 8ebaf6e4ada1cea0b9e6f6dfee61c22cfdc9748c.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/src/cert.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs index 2d57677f..9516ad75 100644 --- a/openpgp-ffi/src/cert.rs +++ b/openpgp-ffi/src/cert.rs @@ -378,7 +378,7 @@ fn pgp_cert_primary_user_id(cert: *const Cert, policy: *const Policy, /// Wraps a UserIDIter for export via the FFI. pub struct UserIDIterWrapper<'a> { pub(crate) // For serialize.rs. - iter: Option<ComponentBundleIter<'a, openpgp::packet::UserID>>, + iter: Option<ComponentAmalgamationIter<'a, openpgp::packet::UserID>>, // Whether next has been called. next_called: bool, } @@ -450,7 +450,7 @@ pub extern "C" fn pgp_cert_user_id_iter_next<'a>( /// Wraps a ValidKeyAmalgamationIter for export via the FFI. pub struct ValidUserIDIterWrapper<'a> { pub(crate) // For serialize.rs. - iter: Option<ValidComponentBundleIter<'a, openpgp::packet::UserID>>, + iter: Option<ValidComponentAmalgamationIter<'a, openpgp::packet::UserID>>, // Whether next has been called. next_called: bool, } |