diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-05-29 15:41:18 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-06-03 17:19:19 +0200 |
commit | a4292eccfdc98b51d0200a6c912af237aeddd5c8 (patch) | |
tree | d511171e6f7b9ac0472be7d0569399cf61bffae2 /lib/efi_loader/efi_variable.c | |
parent | 55af40a5781f1de574822745c9c76b3a928388cd (diff) | |
download | u-boot-a4292eccfdc98b51d0200a6c912af237aeddd5c8.zip u-boot-a4292eccfdc98b51d0200a6c912af237aeddd5c8.tar.gz u-boot-a4292eccfdc98b51d0200a6c912af237aeddd5c8.tar.bz2 |
efi_loader: signature: move efi_guid_cert_type_pkcs7 to efi_signature.c
The global variable, efi_guid_cert_type_pkcs7, will also be used in
efi_image_loader.c in a succeeding patch so as to correctly handle
a signature type of authenticode in signed image.
Meanwhile, it is currently defined in efi_variable.c. Once some secure
storage solution for UEFI variables is introduced, efi_variable.c may
not always be compiled in.
So move the definition to efi_signature.c as a common place.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_variable.c')
-rw-r--r-- | lib/efi_loader/efi_variable.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index 0a43db5..e097670 100644 --- a/lib/efi_loader/efi_variable.c +++ b/lib/efi_loader/efi_variable.c @@ -26,7 +26,6 @@ enum efi_secure_mode { EFI_MODE_DEPLOYED, }; -const efi_guid_t efi_guid_cert_type_pkcs7 = EFI_CERT_TYPE_PKCS7_GUID; static bool efi_secure_boot; static int efi_secure_mode; static u8 efi_vendor_keys; |