Have the few apps that accessed EVP_MD directly use accessors instead
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
2db6bf6f85
commit
cc9d6655a1
@ -828,7 +828,7 @@ end_of_options:
|
|||||||
}
|
}
|
||||||
if (verbose)
|
if (verbose)
|
||||||
BIO_printf(bio_err, "message digest is %s\n",
|
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,
|
if ((policy == NULL) && ((policy = NCONF_get_string(conf,
|
||||||
section,
|
section,
|
||||||
ENV_POLICY)) ==
|
ENV_POLICY)) ==
|
||||||
|
@ -1687,7 +1687,7 @@ int speed_main(int argc, char **argv)
|
|||||||
EVP_CIPHER_CTX_cleanup(&ctx);
|
EVP_CIPHER_CTX_cleanup(&ctx);
|
||||||
}
|
}
|
||||||
if (evp_md) {
|
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]);
|
print_message(names[D_EVP], save_count, lengths[j]);
|
||||||
|
|
||||||
Time_F(START);
|
Time_F(START);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user