diff options
Diffstat (limited to 'apps')
-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++) { |