Skip to content

Commit

Permalink
Remove 'hit enter' prompt for GPGME initialization errors.
Browse files Browse the repository at this point in the history
Older GPGMEs are missing CMS (S/MIME) support.  Don't force the poor
users to hit enter every time they start mutt.
  • Loading branch information
kevin8t8 authored and karelzak committed Jul 17, 2015
1 parent 1e29514 commit 97ec52c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crypt-gpgme.c
Original file line number Diff line number Diff line change
Expand Up @@ -4603,8 +4603,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);
}
}

Expand All @@ -4613,8 +4611,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);
}
}

Expand Down

0 comments on commit 97ec52c

Please sign in to comment.