]> granicus.if.org Git - neomutt/commit
Loosen mutt_signed_handler() protocol value consistency check. (closes #3639)
authorKevin McCarthy <kevin@8t8.us>
Wed, 2 Dec 2015 02:20:27 +0000 (18:20 -0800)
committerKevin McCarthy <kevin@8t8.us>
Wed, 2 Dec 2015 02:20:27 +0000 (18:20 -0800)
commit3a48715c674da743a38f757e353565e24430420a
treeaa48cd61a9651f97034bd36bcd7775bb5d9f30da
parent2520e7189c515887ef0d7d73866e3c0b130e8c56
Loosen mutt_signed_handler() protocol value consistency check.  (closes #3639)

Apparently, for S/MIME, some MUAs mismatch the protocol value of
the multipart/signed and the content-type of the signature: putting
"pkcs7-signature" in one and "x-pkcs7-signature" in the other.

Change mutt_signed_handler() to independently verify the values of the
protocol and the content-type.  This still checks for correct values but
doesn't ensure they match between the two (for S/MIME).
crypt.c