summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-05-13 15:16:44 +0000
committerAndy Polyakov <appro@openssl.org>2007-05-13 15:16:44 +0000
commit1a42839ba797ae6497c1f68cd788f8fd82e78186 (patch)
tree7fc927c5423ca35c45926b138db977f6206b10da /crypto/sha
parent232a938c75793091285e38efdb941de37eef2725 (diff)
As all assembler modules are alignment neutral, allow C to pass unaligned
content.
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha512.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c
index 1277a0f7a1..24fc2ef03d 100644
--- a/crypto/sha/sha512.c
+++ b/crypto/sha/sha512.c
@@ -54,7 +54,8 @@ const char SHA512_version[]="SHA-512" OPENSSL_VERSION_PTEXT;
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
defined(__x86_64) || defined(_M_AMD64) || defined(_M_X64) || \
- defined(__s390__) || defined(__s390x__)
+ defined(__s390__) || defined(__s390x__) || \
+ defined(SHA512_ASM)
#define SHA512_BLOCK_CAN_MANAGE_UNALIGNED_DATA
#endif