summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cast
diff options
context:
space:
mode:
authormiod <>2014-04-17 21:17:12 +0000
committermiod <>2014-04-17 21:17:12 +0000
commit7497a2d5a184329f9295930672d1898123f8d457 (patch)
treeda9109a7546d5e98b8647a37cc675d8b776d00ad /src/lib/libcrypto/cast
parent7c3fc2db1884251561aad408263f56a85d62efcd (diff)
downloadopenbsd-7497a2d5a184329f9295930672d1898123f8d457.tar.gz
openbsd-7497a2d5a184329f9295930672d1898123f8d457.tar.bz2
openbsd-7497a2d5a184329f9295930672d1898123f8d457.zip
Get rid of MS Visual C compiler and Intel C compiler specific defines.
Diffstat (limited to 'src/lib/libcrypto/cast')
-rw-r--r--src/lib/libcrypto/cast/cast_lcl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/cast/cast_lcl.h b/src/lib/libcrypto/cast/cast_lcl.h
index e756021a33..cf0ca9e607 100644
--- a/src/lib/libcrypto/cast/cast_lcl.h
+++ b/src/lib/libcrypto/cast/cast_lcl.h
@@ -152,11 +152,7 @@
152 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \ 152 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
153 *((c)++)=(unsigned char)(((l) )&0xff)) 153 *((c)++)=(unsigned char)(((l) )&0xff))
154 154
155#if defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER)
156#define ROTL(a,n) (_lrotl(a,n))
157#else
158#define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>(32-(n)))) 155#define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>(32-(n))))
159#endif
160 156
161#define C_M 0x3fc 157#define C_M 0x3fc
162#define C_0 22L 158#define C_0 22L