Commit 86fb1061 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

Accept x-pkcs7-signature MIME type as signature.

2010-07-24  David Engster  <dengste@eml.cc>
 * mml-smime.el (mml-smime-epg-verify): Also accept the older
 x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
parent f8e0614c
2010-07-24 David Engster <dengste@eml.cc>
* mml-smime.el (mml-smime-epg-verify): Also accept the older
x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
2010-07-21 Daiki Ueno <ueno@unixuser.org>
* mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
......
......@@ -520,10 +520,14 @@ Content-Disposition: attachment; filename=smime.p7m
ctl 'protocol)
"application/pkcs7-signature")
t)))
(null (setq signature (mm-find-part-by-type
(cdr handle)
"application/pkcs7-signature"
nil t))))
(null (setq signature (or (mm-find-part-by-type
(cdr handle)
"application/pkcs7-signature"
nil t)
(mm-find-part-by-type
(cdr handle)
"application/x-pkcs7-signature"
nil t)))))
(mm-set-handle-multipart-parameter
mm-security-handle 'gnus-info "Corrupted")
(throw 'error handle))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment