summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-06-17 08:56:33 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-06-17 08:56:33 +0200
commitadca6a88859a95ff5a0c6c350246ea24eb49179d (patch)
tree0b758297daece8098849d9280cbf7415325306fc /openpgp-ffi
parent64fce5061ad92a810013896ac581f2564593aa1d (diff)
openpgp-ffi: Forward the inspect callback to the wrapped helper.
- When implementing `VerificationHelper` for `DHelper`, we forgot to forward the `inspect` callback to the wrapped `vhelper`. - Do it.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/src/parse/stream.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs
index cce302ad..28933a53 100644
--- a/openpgp-ffi/src/parse/stream.rs
+++ b/openpgp-ffi/src/parse/stream.rs
@@ -819,6 +819,10 @@ impl DHelper {
}
impl VerificationHelper for DHelper {
+ fn inspect(&mut self, pp: &PacketParser) -> openpgp::Result<()> {
+ self.vhelper.inspect(pp)
+ }
+
fn get_certs(&mut self, ids: &[openpgp::KeyHandle])
-> Result<Vec<openpgp::Cert>, anyhow::Error>
{