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/export.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sm/export.c') 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 (); -- cgit v1.2.3