summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-02-06 12:16:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-02-06 12:16:58 +0000
commita283d2a80adfaa88573bcd9acd3d8d7ab55c1af4 (patch)
tree319cd33b1def09641c6caf981564bdc3565b9f3e /apps
parent3c33c6f6b10864355553961e638514a6d1bb00f6 (diff)
Remove OPENSSL_NO_HMAC
Disabling HMAC doesn't work. If it did it would end up disabling a lot of OpenSSL functionality (it is required for all versions of TLS for example). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 8dc9de9ce6..6ba7a2ece7 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -133,9 +133,7 @@
#ifndef OPENSSL_NO_MD5
# include <openssl/md5.h>
#endif
-#ifndef OPENSSL_NO_HMAC
# include <openssl/hmac.h>
-#endif
#include <openssl/evp.h>
# include <openssl/sha.h>
#ifndef OPENSSL_NO_RMD160
@@ -1079,9 +1077,7 @@ int MAIN(int argc, char **argv)
#endif
#ifndef OPENSSL_NO_MD5
BIO_printf(bio_err, "md5 ");
-# ifndef OPENSSL_NO_HMAC
BIO_printf(bio_err, "hmac ");
-# endif
#endif
BIO_printf(bio_err, "sha1 ");
BIO_printf(bio_err, "sha256 ");
@@ -1590,7 +1586,7 @@ int MAIN(int argc, char **argv)
}
#endif
-#if !defined(OPENSSL_NO_MD5) && !defined(OPENSSL_NO_HMAC)
+#if !defined(OPENSSL_NO_MD5)
if (doit[D_HMAC]) {
HMAC_CTX hctx;