diff options
author | Martin Oliveira <martin.oliveira@eideticom.com> | 2024-02-09 14:31:27 -0700 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-02-25 09:10:13 +0100 |
commit | 5d70f11823e3d8b7214a1e094b8a4f744ad396f5 (patch) | |
tree | 0f473c5d795d0687320ea314cd5b9f9279407dd2 /apps | |
parent | aba621934696ca52193bd41cd35816649b6b321b (diff) | |
download | openssl-5d70f11823e3d8b7214a1e094b8a4f744ad396f5.zip openssl-5d70f11823e3d8b7214a1e094b8a4f744ad396f5.tar.gz openssl-5d70f11823e3d8b7214a1e094b8a4f744ad396f5.tar.bz2 |
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)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/engine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/engine.c b/apps/engine.c index 35d0368..67f23c7 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; |