diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 14:22:25 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 14:22:25 +0100 |
commit | 5987c772b2681fd82cfb8c3974a5408f40474f5a (patch) | |
tree | d10bf4124af07f0648e92f77623ddd36e58d9ac6 /openpgp/src/parse | |
parent | 4860c74a89627841993b96f0d22716ba5fc79ceb (diff) |
openpgp: Do not explicitly store the subpacket tag.
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r-- | openpgp/src/parse/parse.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/parse/parse.rs b/openpgp/src/parse/parse.rs index 9c08867a..9b58d495 100644 --- a/openpgp/src/parse/parse.rs +++ b/openpgp/src/parse/parse.rs @@ -1426,9 +1426,8 @@ impl Subpacket { len, total_out - total_out_before)).into()); } - Ok(Subpacket::with_length_tag( + Ok(Subpacket::with_length( length, - tag, value, critical, )) |