projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove a whole lot of #include mutt.h
[apps/madmutt.git]
/
lib-crypt
/
pgpmicalg.c
diff --git
a/lib-crypt/pgpmicalg.c
b/lib-crypt/pgpmicalg.c
index
8fe6a5e
..
d2743f3
100644
(file)
--- a/
lib-crypt/pgpmicalg.c
+++ b/
lib-crypt/pgpmicalg.c
@@
-11,24
+11,16
@@
* algorithm.
*/
* algorithm.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
+
+#include <lib-mime/mime.h>
+#include <lib-ui/curses.h>
-#include "mutt.h"
#include "handler.h"
#include "pgp.h"
#include "pgppacket.h"
#include "charset.h"
#include "handler.h"
#include "pgp.h"
#include "pgppacket.h"
#include "charset.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-
-#include <lib-lib/file.h>
-
-#include <lib-mime/mime.h>
static struct {
short id;
static struct {
short id;
@@
-112,7
+104,7
@@
static void pgp_dearmor (FILE * in, FILE * out)
return;
}
return;
}
- mutt_decode_base64 (&state, end - start, 0,
(iconv_t) - 1
);
+ mutt_decode_base64 (&state, end - start, 0,
MUTT_ICONV_ERROR
);
}
static short pgp_mic_from_packet (unsigned char *p, size_t len)
}
static short pgp_mic_from_packet (unsigned char *p, size_t len)