mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
arm: mach-omap2: Remove secure certificate name printing
The signing certificate name is always 15 chars long, but need not be null terminated. One solution is then to use printf precision modifiers to only print this many chars ("%.15s"), but tiny printf does not support this, so lets just drop printing the cert name for now. Signed-off-by: Andrew F. Davis <afd@ti.com>
This commit is contained in:
parent
fbd23b9b94
commit
6b3d4f3def
1 changed files with 6 additions and 6 deletions
|
@ -168,16 +168,16 @@ auth_exit:
|
|||
}
|
||||
|
||||
/*
|
||||
* Output notification of successful authentication as well the name of
|
||||
* the signing certificate used to re-assure the user that the secure
|
||||
* code is being processed as expected. However suppress any such log
|
||||
* output in case of building for SPL and booting via YMODEM. This is
|
||||
* done to avoid disturbing the YMODEM serial protocol transactions.
|
||||
* Output notification of successful authentication to re-assure the
|
||||
* user that the secure code is being processed as expected. However
|
||||
* suppress any such log output in case of building for SPL and booting
|
||||
* via YMODEM. This is done to avoid disturbing the YMODEM serial
|
||||
* protocol transactions.
|
||||
*/
|
||||
if (!(IS_ENABLED(CONFIG_SPL_BUILD) &&
|
||||
IS_ENABLED(CONFIG_SPL_YMODEM_SUPPORT) &&
|
||||
spl_boot_device() == BOOT_DEVICE_UART))
|
||||
printf("Authentication passed: %s\n", (char *)sig_addr);
|
||||
printf("Authentication passed\n");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue