Werner Koch ddbd54ef88
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 <wk@gnupg.org>
2015-06-08 12:34:49 +02:00
..
2012-10-19 11:23:39 +02:00
2014-04-10 11:48:20 +02:00
2014-05-08 20:39:15 +02:00
2014-10-02 15:57:50 +02:00
2014-05-08 20:39:15 +02:00
2013-08-09 19:19:26 +02:00
2013-08-09 19:19:26 +02:00
2012-10-19 11:23:39 +02:00
2014-04-15 12:25:45 +02:00
2010-11-03 09:56:27 +00:00
2014-11-21 21:12:06 +01:00
2015-03-16 13:40:34 +01:00
2014-05-13 16:08:01 +02:00
2012-10-24 16:44:34 +02:00
2014-04-16 10:19:54 +02:00