From f81f521a72ccbccf2b66c4b7ce96021de90c9e29 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 22 Aug 2007 10:55:07 +0000 Subject: Updated estream. More changes for Windows. --- sm/import.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sm/import.c') 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 (); -- cgit v1.2.3