X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fcrypt-mod-smime-gpgme.c;h=5396b2838b5c063c3dbf0463727f741f6f02ec0f;hb=82589516e2473b5451218d7b00a9dfbc3e18f3ca;hp=7ee89517c3bdf8c200f35793a95c1f5a5b390372;hpb=777dc6d5374fd154ac626421c813961b8ab18f2d;p=apps%2Fmadmutt.git diff --git a/lib-crypt/crypt-mod-smime-gpgme.c b/lib-crypt/crypt-mod-smime-gpgme.c index 7ee8951..5396b28 100644 --- a/lib-crypt/crypt-mod-smime-gpgme.c +++ b/lib-crypt/crypt-mod-smime-gpgme.c @@ -21,17 +21,6 @@ static void crypt_mod_smime_init (void) 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) { @@ -78,8 +67,6 @@ static int crypt_mod_smime_verify_sender (HEADER * h) 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 */