aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-11-23 18:46:41 +0000
committerWerner Koch <[email protected]>2010-11-23 18:46:41 +0000
commitb3f9e2130e64e1a57d2b60444edf6f839c1a90b1 (patch)
treeec62e5100ce63278fcb3c743a19b7bcad85f51a7 /g10/decrypt.c
parent2010-11-17 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-b3f9e2130e64e1a57d2b60444edf6f839c1a90b1.tar.gz
gnupg-b3f9e2130e64e1a57d2b60444edf6f839c1a90b1.zip
Change stack size for Wince.
Allow for a longer agent atartup under wince. Print gpg output via estream.
Diffstat (limited to 'g10/decrypt.c')
-rw-r--r--g10/decrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/decrypt.c b/g10/decrypt.c
index 62e12d560..48d5e84f7 100644
--- a/g10/decrypt.c
+++ b/g10/decrypt.c
@@ -135,7 +135,7 @@ decrypt_message_fd (ctrl_t ctrl, int input_fd, int output_fd)
#warning Need to fix this if we want to use g13
opt.outfp = NULL;
#else
- opt.outfp = fdopen (dup (output_fd), "wb");
+ opt.outfp = es_fdopen_nc (output_fd, "wb");
#endif
if (!opt.outfp)
{
@@ -161,7 +161,7 @@ decrypt_message_fd (ctrl_t ctrl, int input_fd, int output_fd)
err = proc_encryption_packets (ctrl, NULL, fp );
iobuf_close (fp);
- fclose (opt.outfp);
+ es_fclose (opt.outfp);
opt.outfp = NULL;
release_armor_context (afx);
release_progress_context (pfx);