summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-11-29 20:12:35 +0100
committerRichard Levitte <levitte@openssl.org>2015-12-07 17:39:23 +0100
commitcc9d6655a1e6562564a0ac4b5dfcd72f24de7063 (patch)
treebb89923479e6eaff9e5cfa912aa1ddd858a191ea /apps/ca.c
parent2db6bf6f856fc7a6e848e3c45b274b327a86784c (diff)
Have the few apps that accessed EVP_MD directly use accessors instead
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index eea9d99cb4..f6ba23926b 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -828,7 +828,7 @@ end_of_options:
}
if (verbose)
BIO_printf(bio_err, "message digest is %s\n",
- OBJ_nid2ln(dgst->type));
+ OBJ_nid2ln(EVP_MD_type(dgst)));
if ((policy == NULL) && ((policy = NCONF_get_string(conf,
section,
ENV_POLICY)) ==