X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..939639fcf1dad1b8f3a85d641f41d11c49281f3c:/crypt.c diff --git a/crypt.c b/crypt.c index 60b594d..0bd2f30 100644 --- a/crypt.c +++ b/crypt.c @@ -593,7 +593,7 @@ void crypt_extract_keys_from_messages (HEADER * h) if (!WithCrypto) return; - mutt_mktemp (tempfname); + mutt_mktemp (tempfname, sizeof (tempfname)); if (!(fpout = safe_fopen (tempfname, "w"))) { mutt_perror (tempfname); @@ -844,7 +844,7 @@ int mutt_signed_handler (BODY *a, STATE *s) if (sigcnt) { - mutt_mktemp (tempfile); + mutt_mktemp (tempfile, sizeof (tempfile)); if (crypt_write_signed (a, s, tempfile) == 0) { for (i = 0; i < sigcnt; i++)