diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-06-17 08:56:33 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-06-17 08:56:33 +0200 |
commit | adca6a88859a95ff5a0c6c350246ea24eb49179d (patch) | |
tree | 0b758297daece8098849d9280cbf7415325306fc | |
parent | 64fce5061ad92a810013896ac581f2564593aa1d (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.
-rw-r--r-- | openpgp-ffi/src/parse/stream.rs | 4 |
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> { |