* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
#include "mutt.h"
#include "mutt_curses.h"
int crypt_valid_passphrase(int flags)
{
- time_t now = time (NULL);
int ret = 0;
# if defined(HAVE_SETRLIMIT) &&(!defined(DEBUG))
char *t=NULL;
int len, complain=0;
+ if (!m)
+ return 0;
+
if ((m->type & TYPEAPPLICATION) && m->subtype)
{
/* S/MIME MIME types don't need x- anymore, see RFC2311 */