Home GnuPG
Diffusion GnuPG ccf5cc8b0b6c

sm: Fix error checking of decryption result.

Description

sm: Fix error checking of decryption result.

* sm/call-agent.c (gpgsm_agent_pkdecrypt): Fix condition.

Cherry-pick master commit of:
15fe78184cc66ce6e657a6e949a522d7821f8a1c

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

Details

Provenance
gniibeAuthored on Jul 26 2019, 3:00 AM
Parents
rG64500e7f6dd6: gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.
Branches
Unknown
Tags
Unknown