summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2014-09-24 12:18:19 -0400
committerRich Salz <rsalz@openssl.org>2014-09-24 18:07:29 -0400
commit92c78463720f71e47c251ffa58493e32cd793e13 (patch)
tree45b240a3c720a19f5e1767998b8c6d7d42cfb4b5 /crypto/sha
parent4aac102f75b517bdb56b1bcfd0a856052d559f6e (diff)
RT3544: Remove MWERKS support
The following #ifdef tests were all removed: __MWERKS__ MAC_OS_pre_X MAC_OS_GUSI_SOURCE MAC_OS_pre_X OPENSSL_SYS_MACINTOSH_CLASSIC OPENSSL_SYS_MACOSX_RHAPSODY Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha_locl.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/crypto/sha/sha_locl.h b/crypto/sha/sha_locl.h
index ecbfcf100c..0baeb0fe17 100644
--- a/crypto/sha/sha_locl.h
+++ b/crypto/sha/sha_locl.h
@@ -94,16 +94,9 @@ static void sha_block_data_order (SHA_CTX *c, const void *p,size_t num);
# define HASH_FINAL SHA1_Final
# define HASH_INIT SHA1_Init
# define HASH_BLOCK_DATA_ORDER sha1_block_data_order
-# if defined(__MWERKS__) && defined(__MC68K__)
- /* Metrowerks for Motorola fails otherwise:-( <appro@fy.chalmers.se> */
-# define Xupdate(a,ix,ia,ib,ic,id) do { (a)=(ia^ib^ic^id); \
- ix=(a)=ROTATE((a),1); \
- } while (0)
-# else
-# define Xupdate(a,ix,ia,ib,ic,id) ( (a)=(ia^ib^ic^id), \
+# define Xupdate(a,ix,ia,ib,ic,id) ( (a)=(ia^ib^ic^id), \
ix=(a)=ROTATE((a),1) \
)
-# endif
#ifndef SHA1_ASM
static