aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-uiserver.c
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2026-03-24 15:56:39 +0100
committerIngo Klöcker <[email protected]>2026-03-24 15:56:39 +0100
commit775e1eb923fa0f2f66363d5329acfebc13c864b3 (patch)
treeca20b80bcc0f43fb9938f8bee95fffa6baebe16d /src/engine-uiserver.c
parentFix passphrase cancel handling. (diff)
downloadgpgme-775e1eb923fa0f2f66363d5329acfebc13c864b3.tar.gz
gpgme-775e1eb923fa0f2f66363d5329acfebc13c864b3.zip
gpgsm: Read all pending lines before waiting for more data
* src/engine-gpgsm.c (gpgsm_assuan_simple_command): Add a loop to read all pending lines. -- This fixes the problem that gpgme waited indefinitely for the completion of the "simple command" if the reply consisted of more than one line. For example, if an invalid recipient is sent to gpgsm then gpgsm replies something like S INV_RECP 10 798413A50E4C66292914361E8358AC45668F412A<LF> ERR 50331746 Not trusted <GpgSM><LF> gpgsm_assuan_simple_command read the first line and then waited forever for more data sent by gpgsm. GnuPG-bug-id: 8187
Diffstat (limited to 'src/engine-uiserver.c')
0 files changed, 0 insertions, 0 deletions