From b709612c2c0879900c4ad2aaca5be92e6f728457 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sun, 5 Jul 2015 13:38:39 -0700 Subject: [PATCH] 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. --- crypt-gpgme.c | 4 ---- 1 file changed, 4 deletions(-) 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); } } -- 2.40.0