changeset: 6462:79cd2f34961d
user: Kevin McCarthy <[email protected]>
date: Sun Jul 05 13:38:39 2015 -0700
link: http://dev.mutt.org/hg/mutt/rev/79cd2f34961d
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.
diffs (21 lines):
diff -r 39422ec14f60 -r 79cd2f34961d crypt-gpgme.c
--- a/crypt-gpgme.c Thu Jul 02 11:21:22 2015 -0700
+++ b/crypt-gpgme.c Sun Jul 05 13:38:39 2015 -0700
@@ -4596,8 +4596,6 @@
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 @@
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);
}
}