X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt-mod-pgp-classic.c;h=c6c417f551bded0a0fadcbb61ddd5eb62aa4bc2f;hp=b7b58367e6a75639135c1583c6ba9cca51d87aa0;hb=2b2f17c2b838911949a6e8665ef3131382099a62;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/crypt-mod-pgp-classic.c b/crypt-mod-pgp-classic.c index b7b5836..c6c417f 100644 --- a/crypt-mod-pgp-classic.c +++ b/crypt-mod-pgp-classic.c @@ -33,13 +33,13 @@ static int crypt_mod_pgp_decrypt_mime (FILE * a, FILE ** b, BODY * c, { return pgp_decrypt_mime (a, b, c, d); } -static void crypt_mod_pgp_application_handler (BODY * m, STATE * s) +static int crypt_mod_pgp_application_handler (BODY * m, STATE * s) { - pgp_application_pgp_handler (m, s); + return pgp_application_pgp_handler (m, s); } -static char *crypt_mod_pgp_findkeys (ADDRESS * to, ADDRESS * cc, - ADDRESS * bcc) +static char *crypt_mod_pgp_findkeys (address_t * to, address_t * cc, + address_t * bcc) { return pgp_findKeys (to, cc, bcc); } @@ -82,12 +82,12 @@ static BODY *crypt_mod_pgp_traditional_encryptsign (BODY * a, int flags, return pgp_traditional_encryptsign (a, flags, keylist); } -static void crypt_mod_pgp_encrypted_handler (BODY * m, STATE * s) +static int crypt_mod_pgp_encrypted_handler (BODY * m, STATE * s) { - pgp_encrypted_handler (m, s); + return pgp_encrypted_handler (m, s); } -static void crypt_mod_pgp_invoke_getkeys (ADDRESS * addr) +static void crypt_mod_pgp_invoke_getkeys (address_t * addr) { pgp_invoke_getkeys (addr); }