Workaround for some CMS signature formats.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 19 Mar 2014 17:28:01 +0000 (17:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 19 Mar 2014 17:29:55 +0000 (17:29 +0000)
commit66243398bbb3d8ad0f77532905955a9a564f2d4f
tree6ec9de3fbb73647c45cabcfc5c87aaa8e676012b
parentaa10982c49c941799b4229cc9b081dcc738f6ee8
Workaround for some CMS signature formats.

Some CMS SignedData structure use a signature algorithm OID such
as SHA1WithRSA instead of the RSA algorithm OID. Workaround this
case by tolerating the signature if we recognise the OID.
(cherry picked from commit 3a98f9cf20c6af604799ee079bec496b296bb5cc)
crypto/rsa/rsa_ameth.c