summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r--openpgp/src/parse/parse.rs3
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,
))