aboutsummaryrefslogtreecommitdiffstats
path: root/sm/import.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/import.c
parentPost release version number bump (diff)
downloadgnupg-f81f521a72ccbccf2b66c4b7ce96021de90c9e29.tar.gz
gnupg-f81f521a72ccbccf2b66c4b7ce96021de90c9e29.zip
Updated estream.
More changes for Windows.
Diffstat (limited to 'sm/import.c')
-rw-r--r--sm/import.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sm/import.c b/sm/import.c
index 8d42c9272..4cbea8481 100644
--- a/sm/import.c
+++ b/sm/import.c
@@ -33,6 +33,7 @@
#include "keydb.h"
#include "exechelp.h"
#include "i18n.h"
+#include "sysutils.h"
struct stats_s {
unsigned long count;
@@ -517,7 +518,7 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader,
gpg-protect-tool will anyway parse the entire pkcs#12 message in
memory, we simply use tempfiles here and pass them to
the gpg-protect-tool. */
- tmpfp = tmpfile ();
+ tmpfp = gnupg_tmpfile ();
if (!tmpfp)
{
err = gpg_error_from_syserror ();
@@ -542,7 +543,7 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader,
goto cleanup;
}
- certfp = tmpfile ();
+ certfp = gnupg_tmpfile ();
if (!certfp)
{
err = gpg_error_from_syserror ();