mirror of https://github.com/openssl/openssl
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 <nic.tuv@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23538)
This commit is contained in:
parent
aba6219346
commit
5d70f11823
|
@ -405,6 +405,9 @@ int engine_main(int argc, char **argv)
|
||||||
if (ENGINE_get_RSA(e) != NULL
|
if (ENGINE_get_RSA(e) != NULL
|
||||||
&& !append_buf(&cap_buf, &cap_size, "RSA"))
|
&& !append_buf(&cap_buf, &cap_size, "RSA"))
|
||||||
goto end;
|
goto end;
|
||||||
|
if (ENGINE_get_EC(e) != NULL
|
||||||
|
&& !append_buf(&cap_buf, &cap_size, "EC"))
|
||||||
|
goto end;
|
||||||
if (ENGINE_get_DSA(e) != NULL
|
if (ENGINE_get_DSA(e) != NULL
|
||||||
&& !append_buf(&cap_buf, &cap_size, "DSA"))
|
&& !append_buf(&cap_buf, &cap_size, "DSA"))
|
||||||
goto end;
|
goto end;
|
||||||
|
|
Loading…
Reference in New Issue