diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-04-01 15:37:29 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-04-03 14:22:42 +0200 |
commit | ad582b769fe2a8ce2bfc278f2304e4266f131afb (patch) | |
tree | 707e02336491c0109a9ff7ba3bcb163fb623b9c0 /openpgp-ffi | |
parent | 73a7597cbd934d4db170aac313775d63b465ae5f (diff) |
openpgp: Convert `CertParser::from_packet_parser` to `From<PacketParserResult>`
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/src/cert.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs index cb6642d3..fdc95ed1 100644 --- a/openpgp-ffi/src/cert.rs +++ b/openpgp-ffi/src/cert.rs @@ -878,7 +878,7 @@ fn pgp_cert_parser_from_packet_parser(ppr: *mut PacketParserResult<'static>) -> *mut CertParserWrapper<'static> { let ppr = ffi_param_move!(ppr); - let parser = CertParser::from_packet_parser(*ppr); + let parser = CertParser::from(*ppr); box_raw!(CertParserWrapper { parser: parser }) } |