projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a2a50
)
lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure
author
Csókás Bence
<csokas.bence@prolan.hu>
Thu, 14 Dec 2023 16:54:17 +0000
(17:54 +0100)
committer
Tom Rini
<trini@konsulko.com>
Thu, 21 Dec 2023 16:59:49 +0000
(11:59 -0500)
Signed-off-by: Csókás Bence <csokas.bence@prolan.hu>
Reviewed-by: Tom Rini <trini@konsulko.com>
lib/rsa/rsa-sign.c
patch
|
blob
|
history
diff --git
a/lib/rsa/rsa-sign.c
b/lib/rsa/rsa-sign.c
index 7ae163f264b5aef394f3e76f65433dfd07df7e05..858ad92a6f6f51f88b64c5166178fc439e1f9aad 100644
(file)
--- a/
lib/rsa/rsa-sign.c
+++ b/
lib/rsa/rsa-sign.c
@@
-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;
}