diff options
author | Werner Koch <[email protected]> | 2015-06-08 10:34:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-06-08 10:34:49 +0000 |
commit | ddbd54ef881bd2c3481d62b89bef7241667b64ee (patch) | |
tree | 0ca8940dceec227a335e4eb14fdaacc4be559fb6 /build-aux/git-hooks/commit-msg | |
parent | tests: Add option --secret to run-keylist. (diff) | |
download | gpgme-ddbd54ef881bd2c3481d62b89bef7241667b64ee.tar.gz gpgme-ddbd54ef881bd2c3481d62b89bef7241667b64ee.zip |
Fix regression with gpgsm 2.0 due to "OPTION with-secret".
* src/engine-gpgsm.c (gpgsm_assuan_simple_command): Do not terminate
on a status lines.
--
This bug has been with us since the support for gpgsm: If there is no
status line handler but a status line is received anyway the command
handling loop terminates and thus the command/answer order gets out of
sync. In the case of the bug report this is triggered by sending an
option which starts the agent and that starting emits a "PROGRESS"
status line.
The solution is not to stop reading after a status line but record a
possible error code and return that only after OK or ERR.
GnuPG-bug-id: 1795
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'build-aux/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions