mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-02 08:20:48 +00:00

Make OVERRIDE_SECURITY_POLICY a build option. Signed-off-by: Peter Jones <pjones@redhat.com>
16 lines
427 B
C
16 lines
427 B
C
#ifndef _SHIM_LIB_SECURITY_POLICY_H
|
|
#define _SHIM_LIB_SECURITY_POLICY_H 1
|
|
|
|
#if defined(OVERRIDE_SECURITY_POLICY)
|
|
typedef EFI_STATUS (*SecurityHook) (void *data, UINT32 len);
|
|
|
|
EFI_STATUS
|
|
security_policy_install(SecurityHook authentication);
|
|
EFI_STATUS
|
|
security_policy_uninstall(void);
|
|
void
|
|
security_protocol_set_hashes(unsigned char *esl, int len);
|
|
#endif /* OVERRIDE_SECURITY_POLICY */
|
|
|
|
#endif /* SHIM_LIB_SECURITY_POLICY_H */
|