summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-26 17:57:16 +0100
committerTomas Mraz <tomas@openssl.org>2021-04-01 14:39:54 +0200
commit5050fd5b3b7d18eec966469726180efb6c72c594 (patch)
treee053f3428efc6a235a8a5aadea37cb4a1dade30a /apps/ca.c
parentEVP_CIPHER_type: fix misleading argument name (diff)
downloadopenssl-5050fd5b3b7d18eec966469726180efb6c72c594.tar.xz
openssl-5050fd5b3b7d18eec966469726180efb6c72c594.zip
Avoid going through NID when unnecessary
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14703)
Diffstat (limited to 'apps/ca.c')
-rwxr-xr-xapps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index dbb4d15eb8..9cec43cf8b 100755
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -821,7 +821,7 @@ end_of_options:
}
if (verbose)
BIO_printf(bio_err, "message digest is %s\n",
- OBJ_nid2ln(EVP_MD_type(dgst)));
+ EVP_MD_name(dgst));
if (policy == NULL
&& (policy = lookup_conf(conf, section, ENV_POLICY)) == NULL)
goto end;