Home GnuPG
Diffusion GnuPG 38b9da7de335

sm: Return the last error for pubkey decryption.

Description

sm: Return the last error for pubkey decryption.

* sm/decrypt.c: Use TMP_RC for ksba_cms_get_issuer_serial,
and return the last error when no key is available.
Fix the error report with TMP_RC for second call of
ksba_cms_get_issuer_serial.
  • GnuPG-bug-id: T4561
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 5 2019, 8:46 AM
Parents
rG6cc4119ec03b: gpg: Return the last error for pubkey decryption.
Branches
Unknown
Tags
Unknown
Tasks
T4561: GPG / GPGSM: Pinentry cancels lead to wrong error codes