mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure
Signed-off-by: Csókás Bence <csokas.bence@prolan.hu> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
63a2a5082e
commit
fa78301a98
1 changed files with 2 additions and 1 deletions
|
@ -317,7 +317,8 @@ static int rsa_engine_init(const char *engine_id, ENGINE **pe)
|
|||
|
||||
e = ENGINE_by_id(engine_id);
|
||||
if (!e) {
|
||||
fprintf(stderr, "Engine isn't available\n");
|
||||
fprintf(stderr, "Engine '%s' isn't available\n", engine_id);
|
||||
ERR_print_errors_fp(stderr);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue