diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-14 12:42:30 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-15 17:38:19 +0200 |
commit | ddf0d149e2fd0d894eec08f7237f5a686fc85575 (patch) | |
tree | 5062de02165312436ba565a46195799a0e0648e7 /apps/dgst.c | |
parent | 9c1b19eb6f51fd6785cc61418e10070af83df1d2 (diff) |
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)
Diffstat (limited to 'apps/dgst.c')
-rw-r--r-- | apps/dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index 20626c2b32..1e09e90c84 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -429,7 +429,7 @@ int dgst_main(int argc, char **argv) const char *sig_name = NULL; if (!out_bin) { if (sigkey != NULL) - sig_name = EVP_PKEY_get0_first_alg_name(sigkey); + sig_name = EVP_PKEY_get0_type_name(sigkey); } ret = 0; for (i = 0; i < argc; i++) { |