diff options
author | Werner Koch <[email protected]> | 2002-01-20 16:49:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-01-20 16:49:10 +0000 |
commit | 6aae6603af7b3d93bcf6b74b72d7475ecf3eec20 (patch) | |
tree | 2c0dbfa60cfce26c2cb5fb71ad0ac57e41a0b8ce /agent/query.c | |
parent | * gpg-agent.c (main): Disable core dumps. (diff) | |
download | gnupg-6aae6603af7b3d93bcf6b74b72d7475ecf3eec20.tar.gz gnupg-6aae6603af7b3d93bcf6b74b72d7475ecf3eec20.zip |
* command.c (cmd_get_passphrase): Remove the plus signs.
* query.c (start_pinentry): Send no-grab option to pinentry
* gpg-agent.c (main): Move variable grab as no_grab to agent.h.
Diffstat (limited to 'agent/query.c')
-rw-r--r-- | agent/query.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/agent/query.c b/agent/query.c index 45fcbfd8e..fcee18c2a 100644 --- a/agent/query.c +++ b/agent/query.c @@ -95,12 +95,11 @@ start_pinentry (void) log_debug ("connection to PIN entry established\n"); - if (DBG_COMMAND) - { - log_debug ("waiting for debugger [hit RETURN when ready] .....\n"); - getchar (); - log_debug ("... okay\n"); - } + rc = assuan_transact (entry_ctx, + opt.no_grab? "OPTION no-grab":"OPTION grab", + NULL, NULL, NULL, NULL); + if (rc) + return map_assuan_err (rc); return 0; } |