diff options
Diffstat (limited to 'openpgp/src/parse/packet_parser_builder.rs')
-rw-r--r-- | openpgp/src/parse/packet_parser_builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/packet_parser_builder.rs b/openpgp/src/parse/packet_parser_builder.rs index 3e3d5a2e..736ed4d1 100644 --- a/openpgp/src/parse/packet_parser_builder.rs +++ b/openpgp/src/parse/packet_parser_builder.rs @@ -432,9 +432,9 @@ impl<'a> PacketParserBuilder<'a> { pp.state.cert_validator.push(pp.packet.tag()); Ok(PacketParserResult::Some(pp)) }, - ParserResult::EOF((_reader, state, _path)) => { + ParserResult::EOF((reader, state, _path)) => { // `bio` is empty. We're done. - Ok(PacketParserResult::EOF(PacketParserEOF::new(state))) + Ok(PacketParserResult::EOF(PacketParserEOF::new(state, reader))) } } } |