diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-02-20 22:10:48 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-02-20 22:11:54 +0100 |
commit | a57262d26636590eaec123d7b60b9efdd604a61e (patch) | |
tree | c3b24fe46302468ce68ff7317ebb2de314bfec42 /autocrypt | |
parent | 291edaec90f6ef8dd6daab96478bd7d33a0066ab (diff) |
openpgp: Add the bundle method to the Amalgamation trait.
- Add the `bundle()` method to the Amalgamation trait instead of
implementing it on each struct.
Diffstat (limited to 'autocrypt')
-rw-r--r-- | autocrypt/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/autocrypt/src/lib.rs b/autocrypt/src/lib.rs index f5f5988c..cb3f32cf 100644 --- a/autocrypt/src/lib.rs +++ b/autocrypt/src/lib.rs @@ -27,7 +27,10 @@ pub use openpgp::Result; use openpgp::Packet; use openpgp::packet::SKESK; use openpgp::Cert; -use openpgp::cert::components::ValidAmalgamation; +use openpgp::cert::components::{ + Amalgamation, + ValidAmalgamation +}; use openpgp::parse::{ Parse, PacketParserResult, PacketParser, |