From 7d344704581d9b392613fddf0fc9a8025369475e Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Fri, 7 Sep 2001 11:45:42 +0000 Subject: [PATCH] Look up MD5 by name. --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index acd8b3e7b6..5c05e11d67 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -977,7 +977,7 @@ int MAIN(int argc, char **argv) print_message(names[D_MD5],c[D_MD5][j],lengths[j]); Time_F(START,usertime); for (count=0,run=1; COND(c[D_MD5][j]); count++) - EVP_Digest(&(buf[0]),(unsigned long)lengths[j],&(md5[0]),NULL,EVP_md5()); + EVP_Digest(&(buf[0]),(unsigned long)lengths[j],&(md5[0]),NULL,EVP_get_digestbyname("md5")); d=Time_F(STOP,usertime); BIO_printf(bio_err,"%ld %s's in %.2fs\n", count,names[D_MD5],d); -- 2.25.1