mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
efi_loader: remove weak efi_get_public_key_data()
Configuring a system with CONFIG_EFI_CAPSULE_AUTHENTICATE=y but without a method to retrieve the public key data is a misconfiguration. We should get a build failure for it. Therefore remove the weak efi_get_public_key_data() implementation. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
07f2687204
commit
6754e24b54
@ -208,16 +208,6 @@ skip:
|
|||||||
const efi_guid_t efi_guid_capsule_root_cert_guid =
|
const efi_guid_t efi_guid_capsule_root_cert_guid =
|
||||||
EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID;
|
EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID;
|
||||||
|
|
||||||
__weak int efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len)
|
|
||||||
{
|
|
||||||
/* The platform is supposed to provide
|
|
||||||
* a method for getting the public key
|
|
||||||
* stored in the form of efi signature
|
|
||||||
* list
|
|
||||||
*/
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
efi_status_t efi_capsule_authenticate(const void *capsule, efi_uintn_t capsule_size,
|
efi_status_t efi_capsule_authenticate(const void *capsule, efi_uintn_t capsule_size,
|
||||||
void **image, efi_uintn_t *image_size)
|
void **image, efi_uintn_t *image_size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user