summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_util.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-22 08:30:53 -0500
committerTom Rini <trini@konsulko.com>2022-11-22 08:30:53 -0500
commit536c642ffef545b4b5b02d065a0c1de9785549d7 (patch)
tree07cdfb629c8ec1d88cfcbd21cb9d6171dc1baccb /lib/efi_selftest/efi_selftest_util.c
parentb94db9efe849200d993b7f8a4d0b024e99469599 (diff)
parentd0f9ae35fb25d732184b8b307a72c7e20b960353 (diff)
Merge tag 'efi-2023-01-rc2-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-01-rc2-2 UEFI: * add UEFI Secure Boot Key enrollment interface to eficonfig command * fix buffer underflow in FatToStr() implementation
Diffstat (limited to 'lib/efi_selftest/efi_selftest_util.c')
-rw-r--r--lib/efi_selftest/efi_selftest_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_selftest/efi_selftest_util.c b/lib/efi_selftest/efi_selftest_util.c
index 7e03e0c9392..3681fa6431f 100644
--- a/lib/efi_selftest/efi_selftest_util.c
+++ b/lib/efi_selftest/efi_selftest_util.c
@@ -102,7 +102,7 @@ u16 *efi_st_translate_code(u16 code)
return efi_st_unknown;
}
-int efi_st_strcmp_16_8(const u16 *buf1, const char *buf2)
+int efi_st_strcmp_16_8(const u16 *buf1, const unsigned char *buf2)
{
for (; *buf1 || *buf2; ++buf1, ++buf2) {
if (*buf1 != *buf2)