efi_loader: signature: fix a size check against revocation list
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 8 Jul 2020 05:01:54 +0000 (14:01 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jul 2020 21:14:15 +0000 (23:14 +0200)
commit36b2f9da5ccd38581c80098b0cad6dd1a9224705
treea7f37bc81b06f12f4a4a7fbd40001b7a7d6b4918
parenteb537fd7eb05665a088766128eebd45b585679d3
efi_loader: signature: fix a size check against revocation list

Since the size check against an entry in efi_search_siglist() is
incorrect, this function will never find out a to-be-matched certificate
and its associated revocation time in the signature list.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
lib/efi_loader/efi_signature.c