summaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2002-12-15 00:47:47 +0000
committerAndy Polyakov <appro@openssl.org>2002-12-15 00:47:47 +0000
commit6be4688bdc521e1a4fcf8a6ff4f479ec6f47c6b4 (patch)
tree129144fb395ae34a3aaa02e86193380e6a80a4ac /crypto/des
parent717c5cdcc79daf0c16c62828619da247de9236a7 (diff)
Ooops! No ROTATE on some platforms after x86_64 performance patch...
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/des_locl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h
index 5eb7cff0ca..bc7b508dc1 100644
--- a/crypto/des/des_locl.h
+++ b/crypto/des/des_locl.h
@@ -169,7 +169,8 @@
ret; \
})
# endif
-#else
+#endif
+#ifndef ROTATE
#define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n))))
#endif