X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgp.c;h=e198331061d5882bc3391825ab1401fcb5cbdb26;hp=33213bdaed46fa2f2bfda116afe4869efdb8b0c2;hb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c diff --git a/pgp.c b/pgp.c index 33213bd..e198331 100644 --- a/pgp.c +++ b/pgp.c @@ -27,12 +27,13 @@ #include #include +#include + #include "mutt.h" #include "enter.h" #include "handler.h" #include "mutt_curses.h" #include "pgp.h" -#include "mime.h" #include "copy.h" #include "attach.h" @@ -211,7 +212,7 @@ static void pgp_copy_clearsigned (FILE * fpin, STATE * s, char *charset) break; if (armor_header) { - char *p = str_skip_initws (buf); + char *p = vskipspaces(buf); if (*p == '\0') armor_header = 0; @@ -1077,14 +1078,14 @@ static short is_numerical_keyid (const char *s) /* This routine attempts to find the keyids of the recipients of a message. * It returns NULL if any of the keys can not be found. */ -char *pgp_findKeys (ADDRESS * to, ADDRESS * cc, ADDRESS * bcc) +char *pgp_findKeys (address_t * to, address_t * cc, address_t * bcc) { char *keyID, *keylist = NULL, *t; size_t keylist_size = 0; size_t keylist_used = 0; - ADDRESS *tmp = NULL, *addr = NULL; - ADDRESS **last = &tmp; - ADDRESS *p, *q; + address_t *tmp = NULL, *addr = NULL; + address_t **last = &tmp; + address_t *p, *q; int i; pgp_key_t k_info = NULL, key = NULL;