Home GnuPG
Diffusion GnuPG 0c7dffe99d3f

sm: Fix parsing encrypted data.

Description

sm: Fix parsing encrypted data.

* sm/minip12.c (cram_octet_string): Finish when N==0.
(parse_bag_encrypted_data): Support constructed data with multiple
octet strings.

Backport master commit of:
6c50834c0905b55ee2da18728194dd4c93c377bf

  • GnuPG-bug-id: T5793
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>