]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: using EFI_UNSUPPORTED for private authenticated variables
authorWeizhao Ouyang <o451686892@gmail.com>
Wed, 10 Apr 2024 12:19:33 +0000 (12:19 +0000)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Apr 2024 09:03:12 +0000 (11:03 +0200)
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>
lib/efi_loader/efi_variable.c

index 2951dc78c7dcb1798c224658261d8b19c7ed8a9c..e6c1219a11c8b2992729cfed1417852925f27dec 100644 (file)
@@ -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;
        }