diff options
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r-- | openpgp/src/parse/parse.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/openpgp/src/parse/parse.rs b/openpgp/src/parse/parse.rs index a05a40cd..33b27d1a 100644 --- a/openpgp/src/parse/parse.rs +++ b/openpgp/src/parse/parse.rs @@ -1352,10 +1352,7 @@ impl Subpacket { SubpacketTag::EmbeddedSignature => SubpacketValue::EmbeddedSignature( Signature::from_bytes( - &php.parse_bytes("embedded sig", len)?)? - .into() // XXX: This should just be a Signature, really. - ), - + &php.parse_bytes("embedded sig", len)?)?), SubpacketTag::IssuerFingerprint => { if len == 0 { return Err(Error::MalformedPacket( |