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:28:01 +0000 (17:28 +0000)
commit3a98f9cf20c6af604799ee079bec496b296bb5cc
treedafcb88ccdb73d58f62d8739a96b3b0a85904e0b
parentf04665a653665cd6432b9adfeb7c7f12a7447d26
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.
crypto/rsa/rsa_ameth.c