From: Scott Koranda Date: Wed, 17 Dec 2003 17:42:02 +0000 (+0000) Subject: pkcs7-signature wasn't recognized properly in one more place. X-Git-Tag: mutt-1-5-6-rel~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83f47d4aa1d510941deb55b4093b035344b55932;p=mutt pkcs7-signature wasn't recognized properly in one more place. --- diff --git a/crypt.c b/crypt.c index 6bca40dd..c5529398 100644 --- a/crypt.c +++ b/crypt.c @@ -871,7 +871,8 @@ void mutt_signed_handler (BODY *a, STATE *s) if ((WithCrypto & APPLICATION_SMIME) && signatures[i]->type == TYPEAPPLICATION - && !mutt_strcasecmp(signatures[i]->subtype, "x-pkcs7-signature")) + && (!mutt_strcasecmp(signatures[i]->subtype, "x-pkcs7-signature") + || !mutt_strcasecmp(signatures[i]->subtype, "pkcs7-signature"))) { if (crypt_smime_verify_one (signatures[i], s, tempfile) != 0) goodsig = 0;