diff options
author | Werner Koch <[email protected]> | 2015-10-02 10:21:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-10-02 10:21:31 +0000 |
commit | bdd180f47cb0d63a2f8c4a7ed9b2aa66b4781cd8 (patch) | |
tree | ec6dc6a0323e36437066e4664b60c988b7fb3681 /agent/call-scd.c | |
parent | dirmngr: Fix use-after-free due to a realloc shrinking. (diff) | |
download | gnupg-bdd180f47cb0d63a2f8c4a7ed9b2aa66b4781cd8.tar.gz gnupg-bdd180f47cb0d63a2f8c4a7ed9b2aa66b4781cd8.zip |
scd: Use Assuan macro instead of a number constant.
--
Diffstat (limited to 'agent/call-scd.c')
-rw-r--r-- | agent/call-scd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c index 6cd582546..65b5e7cfd 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -326,11 +326,12 @@ start_scd (ctrl_t ctrl) } no_close_list[i] = ASSUAN_INVALID_FD; - /* Connect to the pinentry and perform initial handshaking. Use - detached flag (128) so that under W32 SCDAEMON does not show up a + /* Connect to the scdaemon and perform initial handshaking. Use + detached flag so that under Windows SCDAEMON does not show up a new window. */ rc = assuan_pipe_connect (ctx, opt.scdaemon_program, argv, - no_close_list, atfork_cb, NULL, 128); + no_close_list, atfork_cb, NULL, + ASSUAN_PIPE_CONNECT_DETACHED); if (rc) { log_error ("can't connect to the SCdaemon: %s\n", |