mirror of git://git.gnupg.org/gnupg.git
2008-01-15 Marcus Brinkmann <marcus@g10code.de>
* call-pinentry.c (start_pinentry): Start pinentry in detached mode.
This commit is contained in:
parent
1e46b20f48
commit
a8fb3559b1
|
@ -1,3 +1,8 @@
|
||||||
|
2008-01-15 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* call-pinentry.c (start_pinentry): Start pinentry in detached
|
||||||
|
mode.
|
||||||
|
|
||||||
2007-12-04 Werner Koch <wk@g10code.com>
|
2007-12-04 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* call-pinentry.c (agent_askpin): Use gnupg_get_help_string.
|
* call-pinentry.c (agent_askpin): Use gnupg_get_help_string.
|
||||||
|
|
|
@ -271,9 +271,11 @@ start_pinentry (ctrl_t ctrl)
|
||||||
no_close_list[i] = -1;
|
no_close_list[i] = -1;
|
||||||
|
|
||||||
/* Connect to the pinentry and perform initial handshaking. Note
|
/* 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,
|
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)
|
if (rc)
|
||||||
{
|
{
|
||||||
log_error ("can't connect to the PIN entry module: %s\n",
|
log_error ("can't connect to the PIN entry module: %s\n",
|
||||||
|
|
Loading…
Reference in New Issue