Rename EVP_PKEY_get0_first_alg_name to EVP_PKEY_get0_type_name
authorTomas Mraz <tomas@openssl.org>
Wed, 14 Apr 2021 10:42:30 +0000 (12:42 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 15 Apr 2021 15:38:19 +0000 (17:38 +0200)
commitddf0d149e2fd0d894eec08f7237f5a686fc85575
tree5062de02165312436ba565a46195799a0e0648e7
parent9c1b19eb6f51fd6785cc61418e10070af83df1d2
Rename EVP_PKEY_get0_first_alg_name to EVP_PKEY_get0_type_name

We use type elsewhere and documenting the 'first' in the
name of the call is a little bit superfluous making the
name too mouthful.

Also rename EVP_PKEY_typenames_do_all to
EVP_PKEY_type_names_do_all to keep the words separated by
underscore.

Fixes #14701

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14868)
apps/dgst.c
crypto/encode_decode/encoder_pkey.c
crypto/evp/evp_pkey.c
crypto/evp/p_lib.c
doc/man3/EVP_PKEY_is_a.pod
include/openssl/evp.h
test/algorithmid_test.c
test/endecode_test.c
util/libcrypto.num