From 5d70f11823e3d8b7214a1e094b8a4f744ad396f5 Mon Sep 17 00:00:00 2001 From: Martin Oliveira Date: Fri, 9 Feb 2024 14:31:27 -0700 Subject: [PATCH] apps/engine: add EC to list of capabilities openssl engine -c wasn't showing if an engine implemented EC cla: trivial Reviewed-by: Nicola Tuveri Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23538) --- apps/engine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/engine.c b/apps/engine.c index 35d0368b3a..67f23c7e00 100644 --- a/apps/engine.c +++ b/apps/engine.c @@ -405,6 +405,9 @@ int engine_main(int argc, char **argv) if (ENGINE_get_RSA(e) != NULL && !append_buf(&cap_buf, &cap_size, "RSA")) goto end; + if (ENGINE_get_EC(e) != NULL + && !append_buf(&cap_buf, &cap_size, "EC")) + goto end; if (ENGINE_get_DSA(e) != NULL && !append_buf(&cap_buf, &cap_size, "DSA")) goto end;