aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-22 12:46:05 +0000
committerWerner Koch <[email protected]>2010-03-22 12:46:05 +0000
commite64038608be28c14ed72b0372529762953de898f (patch)
tree3847da576d4f2e6c542ce6737179a11afcc1a487 /sm
parentBuilds again for W32. (diff)
downloadgnupg-e64038608be28c14ed72b0372529762953de898f.tar.gz
gnupg-e64038608be28c14ed72b0372529762953de898f.zip
More chnages to use estream. Add a way to replace the standard
descriptors.
Diffstat (limited to 'sm')
-rw-r--r--sm/gpgsm.c2
-rw-r--r--sm/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 8774f7c32..1ce3797d2 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -911,7 +911,7 @@ main ( int argc, char **argv)
/* Make sure that our subsystems are ready. */
i18n_init();
- init_common_subsystems ();
+ init_common_subsystems (&argc, &argv);
/* Check that the libraries are suitable. Do it here because the
option parse may need services of the library */
diff --git a/sm/server.c b/sm/server.c
index 85c061312..bdba6393e 100644
--- a/sm/server.c
+++ b/sm/server.c
@@ -1248,7 +1248,7 @@ gpgsm_server (certlist_t default_recplist)
/* We use a pipe based server so that we can work from scripts.
assuan_init_pipe_server will automagically detect when we are
- called with a socketpair and ignore FIELDES in this case. */
+ called with a socketpair and ignore FILEDES in this case. */
filedes[0] = assuan_fdopen (0);
filedes[1] = assuan_fdopen (1);
rc = assuan_new (&ctx);