From adca6a88859a95ff5a0c6c350246ea24eb49179d Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 17 Jun 2020 08:56:33 +0200 Subject: 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. --- openpgp-ffi/src/parse/stream.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openpgp-ffi') 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, anyhow::Error> { -- cgit v1.2.3