aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWeizhao Ouyang2024-04-10 12:19:33 +0000
committerHeinrich Schuchardt2024-04-13 11:03:12 +0200
commit0ec4279ba32fc923374c80a3e817de263d0cc185 (patch)
tree317f554674a049fe50d3562180fa646e97c3cf6d /lib
parent8d7ccea1c3e17bced94e4e5d76f4a3eecd12b18f (diff)
efi_loader: using EFI_UNSUPPORTED for private authenticated variables
Improve error message for UEFI SCT tests. Signed-off-by: Weizhao Ouyang <o451686892@gmail.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c
index 2951dc78c7d..e6c1219a11c 100644
--- a/lib/efi_loader/efi_variable.c
+++ b/lib/efi_loader/efi_variable.c
@@ -163,6 +163,7 @@ static efi_status_t efi_variable_authenticate(const u16 *variable,
break;
default:
/* TODO: support private authenticated variables */
+ ret = EFI_UNSUPPORTED;
goto err;
}