X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fsmime.c;h=5906f681c2c94e7ff0b9e3a74074ae39ae83cbb8;hb=055f4c1f45ad240f9095e79d3b6957db3ce29975;hp=f5700a2ff983a687248eb61b596d32d2bb2bbb0e;hpb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;p=apps%2Fmadmutt.git diff --git a/lib-crypt/smime.c b/lib-crypt/smime.c index f5700a2..5906f68 100644 --- a/lib-crypt/smime.c +++ b/lib-crypt/smime.c @@ -1087,7 +1087,7 @@ int smime_verify_sender (HEADER * h) fpout = m_tempfile (tempfname, sizeof(tempfname), NONULL(Tempdir), NULL); if (!fpout) { - mutt_perror (tempfname); + mutt_perror (_("Can't create temporary file")); return 1; } @@ -1187,7 +1187,7 @@ BODY *smime_build_smime_entity (BODY * a, char *certlist) fpout = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (!fpout) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); return NULL; } @@ -1769,7 +1769,7 @@ int smime_decrypt_mime (FILE * fpin, FILE ** fpout, BODY * b, BODY ** cur) tmpfp = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (!tmpfp) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); return (-1); } @@ -1785,7 +1785,7 @@ int smime_decrypt_mime (FILE * fpin, FILE ** fpout, BODY * b, BODY ** cur) *fpout = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (!*fpout) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); rv = -1; goto bail; } @@ -1912,10 +1912,6 @@ int smime_send_menu (HEADER * msg, int *redraw) /* probably need a different passphrase */ crypt_smime_void_passphrase (); } -#if 0 - else - msg->security &= ~SIGN; -#endif *redraw = REDRAW_FULL; break;