From: Kevin McCarthy Date: Sun, 5 Jul 2015 20:38:39 +0000 (-0700) Subject: Remove 'hit enter' prompt for GPGME initialization errors. X-Git-Tag: neomutt-20160307~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b709612c2c0879900c4ad2aaca5be92e6f728457;p=neomutt Remove 'hit enter' prompt for GPGME initialization errors. Older GPGMEs are missing CMS (S/MIME) support. Don't force the poor users to hit enter every time they start mutt. --- diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 1d54ea39e..0062c4c92 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -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); } }