X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=handler.c;h=c5c8301bb4855f28f957881f676052d889704159;hp=5df2b213548abbc93bcead3376bba1be2df2eb9b;hb=88d22daa9c1316d5ccc4b4bb60d40cc96c767757;hpb=07ccefd6c97ddd433d8432f7b4596a5572e09b48 diff --git a/handler.c b/handler.c index 5df2b21..c5c8301 100644 --- a/handler.c +++ b/handler.c @@ -1357,7 +1357,7 @@ int mutt_body_handler (BODY * b, STATE * s) if (!p) mutt_error(_("Error: multipart/encrypted has no protocol parameter!")); - else if (tok == MIME_APPLICATION_PGP_ENCRYPTED) + else if (mime_which_token(p, -1) == MIME_APPLICATION_PGP_ENCRYPTED) handler = crypt_pgp_encrypted_handler; }