diff options
author | Richard Levitte <levitte@openssl.org> | 2015-11-29 20:12:35 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-07 17:39:23 +0100 |
commit | cc9d6655a1e6562564a0ac4b5dfcd72f24de7063 (patch) | |
tree | bb89923479e6eaff9e5cfa912aa1ddd858a191ea | |
parent | 2db6bf6f856fc7a6e848e3c45b274b327a86784c (diff) |
Have the few apps that accessed EVP_MD directly use accessors instead
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r-- | apps/ca.c | 2 | ||||
-rw-r--r-- | apps/speed.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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)) == diff --git a/apps/speed.c b/apps/speed.c index c90729c805..1434a95ba9 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1687,7 +1687,7 @@ int speed_main(int argc, char **argv) EVP_CIPHER_CTX_cleanup(&ctx); } if (evp_md) { - names[D_EVP] = OBJ_nid2ln(evp_md->type); + names[D_EVP] = OBJ_nid2ln(EVP_MD_type(evp_md)); print_message(names[D_EVP], save_count, lengths[j]); Time_F(START); |