X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=d8e0694c7c10ef62ae03d972f9efad6ef92a5ce2;hp=22af265aafb7863695f598dcd2a0d958d64abaf5;hb=569145d4875fd59719a1a3a7d2c7d64d622eacd1;hpb=82589516e2473b5451218d7b00a9dfbc3e18f3ca diff --git a/compose.c b/compose.c index 22af265..d8e0694 100644 --- a/compose.c +++ b/compose.c @@ -15,7 +15,6 @@ #include #include -#include #include #include @@ -24,6 +23,7 @@ #include "mutt.h" #include "alias.h" +#include "crypt.h" #include "mutt_idna.h" #include "attach.h" #include "recvattach.h" @@ -1263,7 +1263,7 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ } msg->security = 0; } - msg->security = crypt_pgp_send_menu (msg, &menu->redraw); + msg->security = crypt_send_menu (msg, &menu->redraw, 0); redraw_crypt_lines (msg); mutt_message_hook (NULL, msg, M_SEND2HOOK); break; @@ -1277,7 +1277,7 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ } msg->security = 0; } - msg->security = crypt_smime_send_menu (msg, &menu->redraw); + msg->security = crypt_send_menu (msg, &menu->redraw, 1); redraw_crypt_lines (msg); mutt_message_hook (NULL, msg, M_SEND2HOOK); break;