diff options
author | Raymond Mao <raymond.mao@linaro.org> | 2025-04-04 07:05:25 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-06 10:02:57 -0600 |
commit | 0708d54a5697e30ea5ecb03f97360e4fcff89719 (patch) | |
tree | 8cf4c8c772bbc381d25548a6a0c26f3baf482db5 /drivers/usb/cdns3/cdns3-starfive.c | |
parent | cf6d4535cc4ca250290a13458014aac4a29a8cec (diff) |
mbedtls: remove incorrect attribute type checker
S/MIME Capabilities (OID: 1.2.840.113549.1.9.15) attributes are
expected to be algorithms but neither data nor MS Inderect Data,
thus the checker for data type is incorrect.
This patch fixes a capsule authentication failure with PKCS#7
message that contains S/MIME capabilities, which formed by the EDK2
GenerateCapsule tool.
S/MIME Capabilities are not common attributes in an EFI capsule,
thus this failure cannot be reproduced with the capsules generated
via mkeficapsule.
Fixes: 7de0d155cce7 ("mbedtls: add PKCS7 parser porting layer")
Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions