openssl dgst: show MD name at all times
authorRichard Levitte <levitte@openssl.org>
Fri, 29 Mar 2019 06:11:57 +0000 (07:11 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 Mar 2019 10:24:22 +0000 (11:24 +0100)
commit7ed4b97b61101952da95a252feef4461c694b851
treeaa04bed06f12d49e2fccff56da48c681cb1ec165
parent678d2681b22c3968d1ff55ec09b9fece39641d57
openssl dgst: show MD name at all times

When 'openssl dgst' is called with a MD alias (such as sha256) and no
further arguments (i.e. input is taken from stdin), the MD name wasn't
shown.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8609)
apps/dgst.c