commit | eb537fd7eb05665a088766128eebd45b585679d3 | [log] [tgz] |
---|---|---|
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | Wed Jul 08 14:01:53 2020 +0900 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jul 11 23:14:15 2020 +0200 |
tree | 2d5d9b97d5965ad5d3a3529277d6b86cc60004dd | |
parent | 1a44b7059c183a227f2fc4519df24da09d403cba [diff] |
efi_loader: image_loader: retrieve authenticode only if it exists Since the certificate table, which is indexed by IMAGE_DIRECTORY_ENTRY_SECURITY and contains authenticode in PE image, doesn't always exist, we should make sure that we will retrieve its pointer only if it exists. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>