Canonicalise input in CMS_verify.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 22 Dec 2013 00:35:29 +0000 (00:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 22 Dec 2013 00:35:29 +0000 (00:35 +0000)
commitcd30f03ac5bf2962f44bd02ae8d88245dff2f12c
tree3925364a2099537f881e7a3996acd500b1bfcbbe
parent20b82b514d81a64f5b240788e5051167456af379
Canonicalise input in CMS_verify.

If content is detached and not binary mode translate the input to
CRLF format. Before this change the input was verified verbatim
which lead to a discrepancy between sign and verify.
crypto/cms/cms_smime.c