]> git.ipfire.org Git - thirdparty/openssl.git/commit
APPS: Replace the use of OBJ_nid2ln() with name or description calls
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Mar 2021 13:45:07 +0000 (14:45 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 2 Apr 2021 06:57:47 +0000 (08:57 +0200)
commitbaf02793fc5b5095ad8929b8e2aae679e113f457
treed3b61d638752c2f8c6cfc4a440f21f2c12299bd1
parent03888233290bf3b8410e8dc2acbef8950fffef60
APPS: Replace the use of OBJ_nid2ln() with name or description calls

With new provided algorithms added, we'd rather rely on the names and
descriptions that we get from the providers.

Specifically with the 'openssl list' command, we now display the
description of all algorithms.  For '-public-key-algorithms', we
additionally print key type information a bit more like we do for
legacy methods.

We also add descriptions to all our keymgmt functions, because the
built in EVP_PKEY_ASN1_METHODs had them.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14656)
apps/list.c
providers/defltprov.c
providers/fips/fipsprov.c