]> granicus.if.org Git - neomutt/commitdiff
Remove 'hit enter' prompt for GPGME initialization errors.
authorKevin McCarthy <kevin@8t8.us>
Sun, 5 Jul 2015 20:38:39 +0000 (13:38 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sun, 5 Jul 2015 20:38:39 +0000 (13:38 -0700)
Older GPGMEs are missing CMS (S/MIME) support.  Don't force the poor
users to hit enter every time they start mutt.

crypt-gpgme.c

index 1d54ea39e79adcf4e10308cf8d45d21243975d90..0062c4c92770c9a07176ee34fdebd5453f42446d 100644 (file)
@@ -4596,8 +4596,6 @@ static void init_pgp (void)
   if (gpgme_engine_check_version (GPGME_PROTOCOL_OpenPGP) != GPG_ERR_NO_ERROR)
   {
     mutt_error (_("GPGME: OpenPGP protocol not available"));
-    if (mutt_any_key_to_continue (NULL) == -1)
-      mutt_exit(1);
   }
 }
 
@@ -4606,8 +4604,6 @@ static void init_smime (void)
   if (gpgme_engine_check_version (GPGME_PROTOCOL_CMS) != GPG_ERR_NO_ERROR)
   {
     mutt_error (_("GPGME: CMS protocol not available"));
-    if (mutt_any_key_to_continue (NULL) == -1)
-      mutt_exit(1);
   }
 }