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
|
@ -2259,7 +2259,12 @@ cmd_killagent (assuan_context_t ctx, char *line)
|
|||
return set_error (GPG_ERR_NOT_SUPPORTED, "no --use-standard-socket");
|
||||
|
||||
ctrl->server_local->stopme = 1;
|
||||
#ifdef ASSUAN_FORCE_CLOSE
|
||||
assuan_set_flag (ctx, ASSUAN_FORCE_CLOSE, 1);
|
||||
return 0;
|
||||
#else
|
||||
return gpg_error (GPG_ERR_EOF);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue