smime_gpgme_init ();
}
-static void crypt_mod_smime_void_passphrase (void)
-{
- /* Handled by gpg-agent. */
-}
-
-static int crypt_mod_smime_valid_passphrase (void)
-{
- /* Handled by gpg-agent. */
- return 1;
-}
-
static int crypt_mod_smime_decrypt_mime (FILE * a, FILE ** b, BODY * c,
BODY ** d)
{
struct crypt_module_specs crypt_mod_smime_gpgme = { APPLICATION_SMIME,
{
crypt_mod_smime_init,
- crypt_mod_smime_void_passphrase,
- crypt_mod_smime_valid_passphrase,
crypt_mod_smime_decrypt_mime,
crypt_mod_smime_application_handler,
NULL, /* encrypted_handler */