Rocco Rutte:
[apps/madmutt.git] / crypt-mod-pgp-gpgme.c
index e23c5fc..8dd7c30 100644 (file)
@@ -42,14 +42,14 @@ static int crypt_mod_pgp_decrypt_mime (FILE * a, FILE ** b, BODY * c,
   return pgp_gpgme_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_gpgme_application_handler (m, s);
+  return pgp_gpgme_application_handler (m, s);
 }
 
-static void crypt_mod_pgp_encrypted_handler (BODY * m, STATE * s)
+static int crypt_mod_pgp_encrypted_handler (BODY * m, STATE * s)
 {
-  pgp_gpgme_encrypted_handler (m, s);
+  return pgp_gpgme_encrypted_handler (m, s);
 }
 
 static int crypt_mod_pgp_check_traditional (FILE * fp, BODY * b,