aboutsummaryrefslogtreecommitdiffstats
path: root/sm/export.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-08-22 10:55:07 +0000
committerWerner Koch <[email protected]>2007-08-22 10:55:07 +0000
commitf81f521a72ccbccf2b66c4b7ce96021de90c9e29 (patch)
treed5335291ab12819087ea12e250cbf4241c703749 /sm/export.c
parentPost release version number bump (diff)
downloadgnupg-f81f521a72ccbccf2b66c4b7ce96021de90c9e29.tar.gz
gnupg-f81f521a72ccbccf2b66c4b7ce96021de90c9e29.zip
Updated estream.
More changes for Windows.
Diffstat (limited to 'sm/export.c')
-rw-r--r--sm/export.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sm/export.c b/sm/export.c
index dd87246eb..2685d67da 100644
--- a/sm/export.c
+++ b/sm/export.c
@@ -32,6 +32,7 @@
#include "keydb.h"
#include "exechelp.h"
#include "i18n.h"
+#include "sysutils.h"
@@ -606,7 +607,7 @@ export_p12 (ctrl_t ctrl, const unsigned char *certimg, size_t certimglen,
else
pgmname = opt.protect_tool_program;
- infp = tmpfile ();
+ infp = gnupg_tmpfile ();
if (!infp)
{
err = gpg_error_from_syserror ();
@@ -622,7 +623,7 @@ export_p12 (ctrl_t ctrl, const unsigned char *certimg, size_t certimglen,
goto cleanup;
}
- outfp = tmpfile ();
+ outfp = gnupg_tmpfile ();
if (!outfp)
{
err = gpg_error_from_syserror ();