From: Martin Oliveira Date: Fri, 9 Feb 2024 21:31:27 +0000 (-0700) Subject: apps/engine: add EC to list of capabilities X-Git-Tag: openssl-3.3.0-alpha1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d70f11823e3d8b7214a1e094b8a4f744ad396f5;p=thirdparty%2Fopenssl.git 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) --- diff --git a/apps/engine.c b/apps/engine.c index 35d0368b3a0..67f23c7e005 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;