mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Made the KILLAGENT and KILLSCD commands working again.
This requires that GnuPG is build with a newer version of Libassuan (2.0.3).
This commit is contained in:
parent
14e0b60efd
commit
81389383a3
4 changed files with 20 additions and 0 deletions
|
@ -1862,7 +1862,15 @@ cmd_killscd (assuan_context_t ctx, char *line)
|
|||
(void)line;
|
||||
|
||||
ctrl->server_local->stopme = 1;
|
||||
#ifdef ASSUAN_FORCE_CLOSE
|
||||
assuan_set_flag (ctx, ASSUAN_FORCE_CLOSE, 1);
|
||||
return 0;
|
||||
#else
|
||||
/* Actually returning an EOF does not anymore work with modern
|
||||
Libassuan versions. However we keep that non working code until
|
||||
we make a Libassuan with the force close flag a requirement. */
|
||||
return gpg_error (GPG_ERR_EOF);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue