projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop list2_t from sendlib.c as well.
[apps/madmutt.git]
/
lib-crypt
/
pgppacket.c
diff --git
a/lib-crypt/pgppacket.c
b/lib-crypt/pgppacket.c
index
39ebdf2
..
d003154
100644
(file)
--- a/
lib-crypt/pgppacket.c
+++ b/
lib-crypt/pgppacket.c
@@
-7,17
+7,7
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <time.h>
-
-#include <lib-lib/mem.h>
+#include <lib-lib/lib-lib.h>
#include <lib-hash/hash.h>
#include "lib.h"
#include <lib-hash/hash.h>
#include "lib.h"
@@
-65,7
+55,7
@@
unsigned char *pgp_read_packet (FILE * fp, size_t * len)
startpos = ftello (fp);
if (!plen) {
startpos = ftello (fp);
if (!plen) {
- pbuf = p_new(char, plen = CHUNKSIZE);
+ pbuf = p_new(
unsigned
char, plen = CHUNKSIZE);
}
if (fread (&ctb, 1, 1, fp) < 1) {
}
if (fread (&ctb, 1, 1, fp) < 1) {