projects
/
platform
/
upstream
/
gpg2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.1.8
[platform/upstream/gpg2.git]
/
agent
/
command.c
diff --git
a/agent/command.c
b/agent/command.c
index
62a4628
..
f09a2ff
100644
(file)
--- a/
agent/command.c
+++ b/
agent/command.c
@@
-1541,6
+1541,9
@@
cmd_get_passphrase (assuan_context_t ctx, char *line)
{
char *response2;
+ if (ctrl->pinentry_mode == PINENTRY_MODE_LOOPBACK)
+ break;
+
rc = agent_get_passphrase (ctrl, &response2, desc2, prompt,
errtext, 0,
cacheid, CACHE_MODE_USER);