1
0
Fork 0
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:
Werner Koch 2011-08-10 11:47:04 +02:00
parent 14e0b60efd
commit 81389383a3
4 changed files with 20 additions and 0 deletions

View file

@ -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
}