summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-06-17 16:09:38 +0200
committerAndy Polyakov <appro@openssl.org>2016-06-22 20:20:37 +0200
commiteeac54ef6d7eedd42a97025ddddaf06777be3c6b (patch)
tree385d0f3f952f89c9cfd37e12f6a1c5af40e76a84 /test
parentf430ba31ac81f27f0014320fee335d2dc4562a95 (diff)
crypto/cryptlib.c: omit OPENSSL_ia32cap_loc().
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/sha512t.c13
-rw-r--r--test/wp_test.c13
2 files changed, 0 insertions, 26 deletions
diff --git a/test/sha512t.c b/test/sha512t.c
index e741b27fdb..b11fcaa051 100644
--- a/test/sha512t.c
+++ b/test/sha512t.c
@@ -81,19 +81,6 @@ int main(int argc, char **argv)
int i;
EVP_MD_CTX *evp;
-# ifdef OPENSSL_IA32_SSE2
- /*
- * Alternative to this is to call OpenSSL_add_all_algorithms... The below
- * code is retained exclusively for debugging purposes.
- */
- {
- char *env;
-
- if ((env = getenv("OPENSSL_ia32cap")))
- OPENSSL_ia32cap = strtoul(env, NULL, 0);
- }
-# endif
-
fprintf(stdout, "Testing SHA-512 ");
EVP_Digest("abc", 3, md, NULL, EVP_sha512(), NULL);
diff --git a/test/wp_test.c b/test/wp_test.c
index 40859bae29..7b5cc04a16 100644
--- a/test/wp_test.c
+++ b/test/wp_test.c
@@ -128,19 +128,6 @@ int main(int argc, char *argv[])
int i;
WHIRLPOOL_CTX ctx;
-# ifdef OPENSSL_IA32_SSE2
- /*
- * Alternative to this is to call OpenSSL_add_all_algorithms... The below
- * code is retained exclusively for debugging purposes.
- */
- {
- char *env;
-
- if ((env = getenv("OPENSSL_ia32cap")))
- OPENSSL_ia32cap = strtoul(env, NULL, 0);
- }
-# endif
-
fprintf(stdout, "Testing Whirlpool ");
WHIRLPOOL("", 0, md);