summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/cryptlib.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-09-13 16:56:11 +0000
committermiod <miod@openbsd.org>2015-09-13 16:56:11 +0000
commitde12ad7f6bf03db8249eb526840df325f439ce56 (patch)
treef2f529091fb7cc479826150567910bf64dcec456 /lib/libssl/src/crypto/cryptlib.c
parentPut the 12x22 font on alpha and macppc installation kernels, the 8x16 font (diff)
downloadwireguard-openbsd-de12ad7f6bf03db8249eb526840df325f439ce56.tar.xz
wireguard-openbsd-de12ad7f6bf03db8249eb526840df325f439ce56.zip
Since a major bump of libcrypto is coming, remove OPENSSL_ia32cap and
OPENSSL_ia32cap_loc; nothing in ports uses them besides embedded copies of OpenSSL. This opens the `all hell gets loose' window.
Diffstat (limited to 'lib/libssl/src/crypto/cryptlib.c')
-rw-r--r--lib/libssl/src/crypto/cryptlib.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/libssl/src/crypto/cryptlib.c b/lib/libssl/src/crypto/cryptlib.c
index fff59f2dfd2..0f2c5970bc9 100644
--- a/lib/libssl/src/crypto/cryptlib.c
+++ b/lib/libssl/src/crypto/cryptlib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptlib.c,v 1.36 2015/09/13 10:02:49 miod Exp $ */
+/* $OpenBSD: cryptlib.c,v 1.37 2015/09/13 16:56:11 miod Exp $ */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
@@ -628,18 +628,6 @@ CRYPTO_get_lock_name(int type)
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)
unsigned int OPENSSL_ia32cap_P[2];
-unsigned long *
-OPENSSL_ia32cap_loc(void)
-{
- if (sizeof(long) == 4)
- /*
- * If 32-bit application pulls address of OPENSSL_ia32cap_P[0]
- * clear second element to maintain the illusion that vector
- * is 32-bit.
- */
- OPENSSL_ia32cap_P[1] = 0;
- return (unsigned long *)OPENSSL_ia32cap_P;
-}
uint64_t
OPENSSL_cpu_caps(void)