diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-02-20 16:16:02 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-02-20 16:19:46 +0100 |
commit | 8bb6ca2b4a99cc2824c7fb6d8f34d8086e99e852 (patch) | |
tree | bfa255a9e9a9c6c7531eb3dd5a404de203b0b0cc /openpgp/examples | |
parent | 2164d2e3db8c66ab98164465eaf821eb7765a760 (diff) |
openpgp: Split the ValidAmalgamation trait.
- Split the ValidAmalgamation trait into two traits, Amalgamation
and ValidAmalgamation, so that the functionality made available by
the Amalgamation trait can be provided by a ComponentAmalgamation,
which doesn't have a policy.
Diffstat (limited to 'openpgp/examples')
-rw-r--r-- | openpgp/examples/decrypt-with.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/examples/decrypt-with.rs b/openpgp/examples/decrypt-with.rs index ca84a918..e74bcac2 100644 --- a/openpgp/examples/decrypt-with.rs +++ b/openpgp/examples/decrypt-with.rs @@ -8,6 +8,7 @@ use std::io; extern crate failure; extern crate sequoia_openpgp as openpgp; +use crate::openpgp::cert::components::Amalgamation; use crate::openpgp::crypto::{KeyPair, SessionKey}; use crate::openpgp::types::SymmetricAlgorithm; use crate::openpgp::parse::{ |