simplify block_try function.
[apps/madmutt.git] / crypt-mod-smime-gpgme.c
index 0e0d112..fdf391b 100644 (file)
@@ -42,13 +42,13 @@ static int crypt_mod_smime_decrypt_mime (FILE * a, FILE ** b, BODY * c,
   return smime_gpgme_decrypt_mime (a, b, c, d);
 }
 
-static void crypt_mod_smime_application_handler (BODY * m, STATE * s)
+static int crypt_mod_smime_application_handler (BODY * m, STATE * s)
 {
-  smime_gpgme_application_handler (m, s);
+  return smime_gpgme_application_handler (m, s);
 }
 
-static char *crypt_mod_smime_findkeys (ADDRESS * to, ADDRESS * cc,
-                                       ADDRESS * bcc)
+static char *crypt_mod_smime_findkeys (address_t * to, address_t * cc,
+                                       address_t * bcc)
 {
   return smime_gpgme_findkeys (to, cc, bcc);
 }