aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sm/ChangeLog4
-rw-r--r--sm/call-dirmngr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog
index 39ae4df40..a96b90327 100644
--- a/sm/ChangeLog
+++ b/sm/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-08 Marcus Brinkmann <[email protected]>
+
+ * call-dirmngr.c (start_dirmngr_ext): Convert posix fd to assuan fd.
+
2009-12-03 Werner Koch <[email protected]>
* gpgsm.c (set_debug): Allow for numerical debug leveles. Print
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c
index b6f37bae2..ba6cf6fba 100644
--- a/sm/call-dirmngr.c
+++ b/sm/call-dirmngr.c
@@ -258,8 +258,8 @@ start_dirmngr_ext (ctrl_t ctrl, assuan_context_t *ctx_r)
i=0;
if (log_get_fd () != -1)
- no_close_list[i++] = log_get_fd ();
- no_close_list[i++] = fileno (stderr);
+ no_close_list[i++] = assuan_fd_from_posix_fd (log_get_fd ());
+ no_close_list[i++] = assuan_fd_from_posix_fd (fileno (stderr));
no_close_list[i] = -1;
/* connect to the agent and perform initial handshaking */