X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-crypt%2Fcrypt-gpgme.c;fp=lib-crypt%2Fcrypt-gpgme.c;h=d9f86da485f6623517fb63d1a0bc64d5e3571480;hp=7c24186797eabb1b3dd68b8bdf6ca87c3d6ab1ac;hb=21f4fef0f77a6caf41c6f8a15279b2b4e50a2f1a;hpb=e4360f3016dc130069b68459ef3942a26347358c diff --git a/lib-crypt/crypt-gpgme.c b/lib-crypt/crypt-gpgme.c index 7c24186..d9f86da 100644 --- a/lib-crypt/crypt-gpgme.c +++ b/lib-crypt/crypt-gpgme.c @@ -82,17 +82,6 @@ typedef struct crypt_entry { static struct crypt_cache *id_defaults = NULL; static gpgme_key_t signature_key = NULL; -/* Initialization. */ -void crypt_init(void) -{ - /* Make sure that gpg-agent is running. */ - if (!getenv ("GPG_AGENT_INFO")) { - mutt_error ("\nUsing GPGME backend, although no gpg-agent is running"); - if (mutt_any_key_to_continue (NULL) == -1) - mutt_exit (1); - } -} - /* Show a message that a backend will be invoked. */ void crypt_invoke_message (int type) {