aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/ChangeLog3
-rw-r--r--agent/call-pinentry.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/agent/ChangeLog b/agent/ChangeLog
index 6630fa055..cd33bcad9 100644
--- a/agent/ChangeLog
+++ b/agent/ChangeLog
@@ -1,5 +1,8 @@
2010-10-18 Werner Koch <[email protected]>
+ * call-pinentry.c (start_pinentry): Print name of pinentry on
+ connect error.
+
* call-scd.c (agent_card_pksign): Make sure to return an unsigned
number.
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index bbb15001f..89450cd98 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -332,8 +332,8 @@ start_pinentry (ctrl_t ctrl)
ASSUAN_PIPE_CONNECT_DETACHED);
if (rc)
{
- log_error ("can't connect to the PIN entry module: %s\n",
- gpg_strerror (rc));
+ log_error ("can't connect to the PIN entry module `%s': %s\n",
+ opt.pinentry_program, gpg_strerror (rc));
assuan_release (ctx);
return unlock_pinentry (gpg_error (GPG_ERR_NO_PIN_ENTRY));
}