]> git.llucax.com Git - software/mutt-debian.git/blobdiff - crypt.c
#define PATH_MAX _POSIX_PATH_MAX. (Fixed in upstream hg, though differently.)
[software/mutt-debian.git] / crypt.c
diff --git a/crypt.c b/crypt.c
index eb2c3e01e768354f37af685b6642b6df60e65ad0..60b594d04b619f5399fcacfb2f7351a309986db3 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -538,7 +538,7 @@ int crypt_write_signed(BODY *a, STATE *s, const char *tempfile)
     fputc (c, fp);
     
   }
-  fclose (fp);
+  safe_fclose (&fp);
 
   return 0;
 }
@@ -613,7 +613,7 @@ void crypt_extract_keys_from_messages (HEADER * h)
        if (Context->hdrs[Context->v2r[i]]->security & ENCRYPT &&
            !crypt_valid_passphrase (Context->hdrs[Context->v2r[i]]->security))
        {
-         fclose (fpout);
+         safe_fclose (&fpout);
          break;
        }
 
@@ -695,7 +695,7 @@ void crypt_extract_keys_from_messages (HEADER * h)
     }
   }
       
-  fclose (fpout);
+  safe_fclose (&fpout);
   if (isendwin())
     mutt_any_key_to_continue (NULL);