From 8ffb20ce05c13f137c169ebdfd11f702da82e9eb Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 9 Jan 2020 10:37:28 +1000 Subject: Deprecate the low level MD4 functions. Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10790) --- apps/speed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/speed.c') diff --git a/apps/speed.c b/apps/speed.c index 244662054c..9dcf177e01 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -335,7 +335,7 @@ static const OPT_PAIR doit_choices[] = { #ifndef OPENSSL_NO_MDC2 {"mdc2", D_MDC2}, #endif -#ifndef OPENSSL_NO_MD4 +#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DEPRECATED_3_0) {"md4", D_MD4}, #endif #ifndef OPENSSL_NO_MD5 @@ -604,7 +604,7 @@ static int EVP_Digest_MDC2_loop(void *args) } #endif -#ifndef OPENSSL_NO_MD4 +#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DEPRECATED_3_0) static int EVP_Digest_MD4_loop(void *args) { loopargs_t *tempargs = *(loopargs_t **) args; @@ -2268,7 +2268,7 @@ int speed_main(int argc, char **argv) } #endif -#ifndef OPENSSL_NO_MD4 +#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DEPRECATED_3_0) if (doit[D_MD4]) { for (testnum = 0; testnum < size_num; testnum++) { print_message(names[D_MD4], c[D_MD4][testnum], lengths[testnum], -- cgit v1.2.3