summaryrefslogtreecommitdiffstats
path: root/sm/import.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-06-09 18:53:51 +0200
committerWerner Koch <wk@gnupg.org>2010-06-09 18:53:51 +0200
commitc3f08dcb7266efeac84f5f720ec0a353a45e950d (patch)
tree51501aa7d0e6dadb80576a1e982fdfde871bd2ad /sm/import.c
parent2010-06-08 Marcus Brinkmann <marcus@g10code.de> (diff)
downloadgnupg2-c3f08dcb7266efeac84f5f720ec0a353a45e950d.tar.xz
gnupg2-c3f08dcb7266efeac84f5f720ec0a353a45e950d.zip
Merged Dirmngr with GnuPG.
A few code changes to support dirmngr.
Diffstat (limited to 'sm/import.c')
-rw-r--r--sm/import.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/import.c b/sm/import.c
index 71cefff65..6a012ca66 100644
--- a/sm/import.c
+++ b/sm/import.c
@@ -773,8 +773,9 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader,
es_fclose (fp);
if (pid != -1)
{
- if (!gnupg_wait_process (pgmname, pid, NULL))
+ if (!gnupg_wait_process (pgmname, pid, 0, NULL))
child_err = 0;
+ gnupg_release_process (pid);
}
if (!err)
err = child_err;