As all assembler modules are alignment neutral, allow C to pass unaligned
authorAndy Polyakov <appro@openssl.org>
Sun, 13 May 2007 15:16:44 +0000 (15:16 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 13 May 2007 15:16:44 +0000 (15:16 +0000)
content.

crypto/sha/sha512.c

index 1277a0f..24fc2ef 100644 (file)
@@ -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