summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha_locl.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-07-19 23:04:57 +0000
committerAndy Polyakov <appro@openssl.org>2005-07-19 23:04:57 +0000
commit66ee67be030ff0e2aa1dbbab25344d17d249961f (patch)
tree152f72197f556afb95f817961037f159acf0003f /crypto/sha/sha_locl.h
parenta7ad2afa5e86bd7366db55f6c37837532b9be599 (diff)
Fix bug [SHA1 IA-64 being disabled] introduced with Stratus VOS update.
PR: 1130
Diffstat (limited to 'crypto/sha/sha_locl.h')
-rw-r--r--crypto/sha/sha_locl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/sha/sha_locl.h b/crypto/sha/sha_locl.h
index 4ce2db946b..6281313a45 100644
--- a/crypto/sha/sha_locl.h
+++ b/crypto/sha/sha_locl.h
@@ -115,19 +115,19 @@
# endif
# ifdef SHA1_ASM
-# if !defined(B_ENDIAN)
-# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
+# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
+# if !defined(B_ENDIAN)
# define sha1_block_host_order sha1_block_asm_host_order
# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
# define sha1_block_data_order sha1_block_asm_data_order
# define DONT_IMPLEMENT_BLOCK_DATA_ORDER
# define HASH_BLOCK_DATA_ORDER_ALIGNED sha1_block_asm_data_order
-# elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64)
-# define sha1_block_host_order sha1_block_asm_host_order
-# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
-# define sha1_block_data_order sha1_block_asm_data_order
-# define DONT_IMPLEMENT_BLOCK_DATA_ORDER
# endif
+# elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64)
+# define sha1_block_host_order sha1_block_asm_host_order
+# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
+# define sha1_block_data_order sha1_block_asm_data_order
+# define DONT_IMPLEMENT_BLOCK_DATA_ORDER
# endif
# endif
void sha1_block_host_order (SHA_CTX *c, const void *p,size_t num);