summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
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 /crypto/cryptlib.c
parentf430ba31ac81f27f0014320fee335d2dc4562a95 (diff)
crypto/cryptlib.c: omit OPENSSL_ia32cap_loc().
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 8e189eca64..01b8ce5ed1 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -21,10 +21,6 @@
defined(_M_AMD64) || defined(_M_X64)
extern unsigned int OPENSSL_ia32cap_P[4];
-unsigned int *OPENSSL_ia32cap_loc(void)
-{
- return OPENSSL_ia32cap_P;
-}
# if defined(OPENSSL_CPUID_OBJ) && !defined(OPENSSL_NO_ASM) && !defined(I386_ONLY)
#include <stdio.h>
@@ -80,12 +76,6 @@ void OPENSSL_cpuid_setup(void)
# else
unsigned int OPENSSL_ia32cap_P[4];
# endif
-
-#else
-unsigned int *OPENSSL_ia32cap_loc(void)
-{
- return NULL;
-}
#endif
int OPENSSL_NONPIC_relocated = 0;
#if !defined(OPENSSL_CPUID_SETUP) && !defined(OPENSSL_CPUID_OBJ)