Home GnuPG
Diffusion GnuPG cc78b26a4729

common: Fix tlv-parser for constructed OCTET-STRING.

Description

common: Fix tlv-parser for constructed OCTET-STRING.

* common/tlv-parser.c (tlv_expect_octet_string): Fix assignment of N
value.

Before the change, need_octet_string_cramming returns always false,
because N==0.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 12 2024, 8:57 AM
Parents
rG1e6b96577f68: gpg: Fix agent_probe_any_secret_key.
Branches
Unknown
Tags
Unknown
Reverted By
rGea123af9b57f: Revert "common: Fix tlv-parser for constructed OCTET-STRING."