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