summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine
diff options
context:
space:
mode:
authormiod <>2016-11-04 13:56:05 +0000
committermiod <>2016-11-04 13:56:05 +0000
commitd69d10da5510517830f98435b4984052c2d21825 (patch)
tree9363c8b7f4453a96c26a902a886921f7516d700f /src/lib/libcrypto/engine
parent76a784dab583cd423f3ff66636ea7b6b6f4dee61 (diff)
downloadopenbsd-d69d10da5510517830f98435b4984052c2d21825.tar.gz
openbsd-d69d10da5510517830f98435b4984052c2d21825.tar.bz2
openbsd-d69d10da5510517830f98435b4984052c2d21825.zip
Remove I386_ONLY define. It was only used to prefer a
faster-on-genuine-80386-but-slower-on-80486-onwards innstruction sequence in the SHA512 code, and had not been enabled in years, if at all. ok tom@ bcook@
Diffstat (limited to 'src/lib/libcrypto/engine')
-rw-r--r--src/lib/libcrypto/engine/eng_padlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/engine/eng_padlock.c b/src/lib/libcrypto/engine/eng_padlock.c
index 1c86a343df..4f2d426a06 100644
--- a/src/lib/libcrypto/engine/eng_padlock.c
+++ b/src/lib/libcrypto/engine/eng_padlock.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: eng_padlock.c,v 1.14 2015/02/07 13:19:15 doug Exp $ */ 1/* $OpenBSD: eng_padlock.c,v 1.15 2016/11/04 13:56:05 miod Exp $ */
2/* 2/*
3 * Support for VIA PadLock Advanced Cryptography Engine (ACE) 3 * Support for VIA PadLock Advanced Cryptography Engine (ACE)
4 * Written by Michal Ludvig <michal@logix.cz> 4 * Written by Michal Ludvig <michal@logix.cz>
@@ -100,7 +100,7 @@
100 In addition, because of the heavy use of inline assembler, 100 In addition, because of the heavy use of inline assembler,
101 compiler choice is limited to GCC and Microsoft C. */ 101 compiler choice is limited to GCC and Microsoft C. */
102#undef COMPILE_HW_PADLOCK 102#undef COMPILE_HW_PADLOCK
103#if !defined(I386_ONLY) && !defined(OPENSSL_NO_INLINE_ASM) 103#if !defined(OPENSSL_NO_INLINE_ASM)
104# if (defined(__GNUC__) && (defined(__i386__) || defined(__i386))) 104# if (defined(__GNUC__) && (defined(__i386__) || defined(__i386)))
105# define COMPILE_HW_PADLOCK 105# define COMPILE_HW_PADLOCK
106# endif 106# endif