Diffusion GnuPG 64500e7f6dd6

gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.

Authored by dkg on Jul 23 2019, 4:07 PM.

Description

gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.

* g10/call-agent.c (agent_pkdecrypt): accept but do not require
NUL-terminated data from the agent.
* sm/call-agent.c (gpgsm_agent_pkdecrypt): accept but do not require
NUL-terminated data from the agent.

Cherry-pick master commit of:
3ba091ab8c93c87741a451f579d63dd500d7621d

  • GnuPG-bug-id: T4652
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details