diff options
Diffstat (limited to 'openpgp/src/tpk/parser/grammar.lalrpop')
-rw-r--r-- | openpgp/src/tpk/parser/grammar.lalrpop | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/openpgp/src/tpk/parser/grammar.lalrpop b/openpgp/src/tpk/parser/grammar.lalrpop index 03860b23..ae8723af 100644 --- a/openpgp/src/tpk/parser/grammar.lalrpop +++ b/openpgp/src/tpk/parser/grammar.lalrpop @@ -34,11 +34,13 @@ pub TPK: Option<TPK> = { let c = c.unwrap(); let mut tpk = TPK { - primary: key, - primary_selfsigs: vec![], - primary_certifications: sigs, - primary_self_revocations: vec![], - primary_other_revocations: vec![], + primary: KeyBinding { + component: key, + selfsigs: vec![], + certifications: sigs, + self_revocations: vec![], + other_revocations: vec![], + }, subkeys: vec![], userids: vec![], user_attributes: vec![], |