keymap.c: HAVE_GPGME -> CRYPT_BACKEND_GPGME?
- To: mutt-dev@xxxxxxxx
- Subject: keymap.c: HAVE_GPGME -> CRYPT_BACKEND_GPGME?
- From: Fabian Groffen <grobian@xxxxxxxxxx>
- Date: Tue, 21 Jul 2009 17:49:59 +0200
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Organization: Gentoo Foundation, Inc.
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.20 (Darwin 8.11.0, VIM - Vi IMproved 7.2)
While looking through the code for a proper fix to bug #3300, I found
the following in keymap.c:
{ "smime", MENU_SMIME },
#ifdef HAVE_GPGME
{ "key_select_pgp", MENU_KEY_SELECT_PGP },
{ "key_select_smime", MENU_KEY_SELECT_SMIME },
#endif
whereas lateron in the same file:
#ifdef CRYPT_BACKEND_GPGME
create_bindings (OpPgp, MENU_KEY_SELECT_PGP);
create_bindings (OpSmime, MENU_KEY_SELECT_SMIME);
#endif
and:
% grep -Fw HAVE_GPGME mutt-1.5.20/*
mutt-1.5.20/keymap.c:#ifdef HAVE_GPGME
%
so it looks as if HAVE_GPGME will never actually be defined, so the
HAVE_GPGME should just be replaced with CRYPT_BACKEND_GPGME in keymap.c?
--
Fabian Groffen
Gentoo on a different level