mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi: Use 16-bit unicode strings
At present we use wide characters for unicode but this is not necessary. Change the code to use the 'u' literal instead. This helps to fix build warnings for sandbox on rpi. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
587254ebcf
commit
156ccbc3c4
34 changed files with 267 additions and 267 deletions
|
@ -145,15 +145,15 @@ static efi_status_t efi_variable_authenticate(const u16 *variable,
|
|||
case EFI_AUTH_VAR_PK:
|
||||
case EFI_AUTH_VAR_KEK:
|
||||
/* with PK */
|
||||
truststore = efi_sigstore_parse_sigdb(L"PK");
|
||||
truststore = efi_sigstore_parse_sigdb(u"PK");
|
||||
if (!truststore)
|
||||
goto err;
|
||||
break;
|
||||
case EFI_AUTH_VAR_DB:
|
||||
case EFI_AUTH_VAR_DBX:
|
||||
/* with PK and KEK */
|
||||
truststore = efi_sigstore_parse_sigdb(L"KEK");
|
||||
truststore2 = efi_sigstore_parse_sigdb(L"PK");
|
||||
truststore = efi_sigstore_parse_sigdb(u"KEK");
|
||||
truststore2 = efi_sigstore_parse_sigdb(u"PK");
|
||||
if (!truststore) {
|
||||
if (!truststore2)
|
||||
goto err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue