summaryrefslogtreecommitdiffstats
path: root/sm/server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-08-16 13:03:43 +0200
committerWerner Koch <wk@gnupg.org>2010-08-16 13:03:43 +0200
commit7e752a42082a96b62ae283e8763bc1be48693c0c (patch)
tree51874625e0a7bcaff265957eb69c76e2e428bd6f /sm/server.c
parentMinor Makefile fixes to let it build on all platforms (diff)
downloadgnupg2-7e752a42082a96b62ae283e8763bc1be48693c0c.tar.xz
gnupg2-7e752a42082a96b62ae283e8763bc1be48693c0c.zip
Auto-start dirmngr.
Diffstat (limited to '')
-rw-r--r--sm/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sm/server.c b/sm/server.c
index 22ddb5f18..d05580796 100644
--- a/sm/server.c
+++ b/sm/server.c
@@ -1293,7 +1293,6 @@ gpgsm_server (certlist_t default_recplist)
{
char *tmp = NULL;
const char *s1 = getenv ("GPG_AGENT_INFO");
- const char *s2 = getenv ("DIRMNGR_INFO");
if (asprintf (&tmp,
"Home: %s\n"
@@ -1304,7 +1303,7 @@ gpgsm_server (certlist_t default_recplist)
opt.homedir,
opt.config_filename,
s1?s1:"[not set]",
- s2?s2:"[not set]",
+ dirmngr_socket_name (),
hello) > 0)
{
assuan_set_hello_line (ctx, tmp);