we don't want this warning, as it is default now, and that some people may
[apps/madmutt.git] / lib-crypt / crypt-gpgme.c
index 7c24186..d9f86da 100644 (file)
@@ -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)
 {