#include "sort.h"
#include "thread.h"
#include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
#include <imap/imap.h>
#include <imap/mx_imap.h>
|| b == NULL) {
err:
mx_close_message (&msg);
- mutt_free_envelope (&newhdr->env);
+ envelope_delete(&newhdr->env);
mutt_free_body (&newhdr->content);
mutt_error _("Decryption failed.");
mx_close_message (&msg);
if (rv == -1) {
- mutt_free_envelope (&newhdr->env);
+ envelope_delete(&newhdr->env);
mutt_free_body (&newhdr->content);
}