aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-12-03 13:05:15 +0000
committerWerner Koch <[email protected]>2007-12-03 13:05:15 +0000
commit033a2c0bc96c406bf324bff51891cfdefe42183e (patch)
treec15e16d8e55368f814d5011c4e84202c46509fa4 /sm/gpgsm.c
parentFixed make distcheck (diff)
downloadgnupg-033a2c0bc96c406bf324bff51891cfdefe42183e.tar.gz
gnupg-033a2c0bc96c406bf324bff51891cfdefe42183e.zip
Try to make sure that the standard descriptors are connected when calling
gpgsm.
Diffstat (limited to '')
-rw-r--r--sm/gpgsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 9958a8138..21a29bee5 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -851,6 +851,7 @@ main ( int argc, char **argv)
/*mtrace();*/
+ gnupg_reopen_std ("gpgsm");
/* trap_unaligned ();*/
gnupg_rl_initialize ();
set_strusage (my_strusage);