aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-pinentry.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2008-01-15 16:06:08 +0000
committerMarcus Brinkmann <[email protected]>2008-01-15 16:06:08 +0000
commita8fb3559b1b20e5a1db529147bf4da422551bfc7 (patch)
tree801ce5d1cb39bcdcda80842439fb2404ba5f6075 /agent/call-pinentry.c
parentAdd missing country tag to qualified.txt. (diff)
downloadgnupg-a8fb3559b1b20e5a1db529147bf4da422551bfc7.tar.gz
gnupg-a8fb3559b1b20e5a1db529147bf4da422551bfc7.zip
2008-01-15 Marcus Brinkmann <[email protected]>
* call-pinentry.c (start_pinentry): Start pinentry in detached mode.
Diffstat (limited to '')
-rw-r--r--agent/call-pinentry.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index c8d0ed46f..9c350a670 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -271,9 +271,11 @@ start_pinentry (ctrl_t ctrl)
no_close_list[i] = -1;
/* Connect to the pinentry and perform initial handshaking. Note
- that atfork is used to change the environment for pinentry. */
+ that atfork is used to change the environment for pinentry. We
+ start the server in detached mode to suppress the console window
+ under Windows. */
rc = assuan_pipe_connect_ext (&ctx, opt.pinentry_program, argv,
- no_close_list, atfork_cb, ctrl, 0);
+ no_close_list, atfork_cb, ctrl, 128);
if (rc)
{
log_error ("can't connect to the PIN entry module: %s\n",