[PATCH v2 03/19] rsatoc: remove unnecessary function call
Sascha Hauer
s.hauer at pengutronix.de
Wed Jul 31 22:57:21 PDT 2024
Calling ENGINE_set_default_RSA() doesn't seem appropriate for upcoming
ECDSA support. I don't know what the call is good for, it works without
it, so remove it.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
scripts/rsatoc.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/scripts/rsatoc.c b/scripts/rsatoc.c
index ed167bf247..37728899f8 100644
--- a/scripts/rsatoc.c
+++ b/scripts/rsatoc.c
@@ -289,12 +289,6 @@ static int rsa_engine_init(ENGINE **pe)
}
}
- if (!ENGINE_set_default_RSA(e)) {
- fprintf(stderr, "Couldn't set engine as default for RSA\n");
- ret = -1;
- goto err_set_rsa;
- }
-
*pe = e;
return 0;
--
2.39.2
More information about the barebox
mailing list