Home GnuPG

Extend the parser to better handle CHOICE elements.

Description

Extend the parser to better handle CHOICE elements.

* src/asn1-func.c (find_node): Support '+' operator.
* src/ber-decoder.c (find_anchor_node): Support CHOICE tag.
(decoder_next): Set the outer sequence length also for context tags.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 21 2020, 2:22 PM
Parents
rK17a09f41fc4b: Allow for Null hash algo parameters on rsaPSS and add pss flag.
Branches
Unknown
Tags
Unknown