diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-09 10:37:28 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-01-12 12:02:17 +1000 |
commit | 8ffb20ce05c13f137c169ebdfd11f702da82e9eb (patch) | |
tree | 47f523e711260dcaa1a96600e742ece528cd785c /apps | |
parent | 01b0768d098698701c5491d8386019491a3dfdc7 (diff) |
Deprecate the low level MD4 functions.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10790)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/speed.c | 6 |
1 files changed, 3 insertions, 3 deletions
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], |