md32_common.h: backport ICC fix.
authorAndy Polyakov <appro@openssl.org>
Sun, 24 May 2015 20:51:12 +0000 (22:51 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 26 May 2015 07:58:12 +0000 (09:58 +0200)
RT#3843

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/md32_common.h

index c1efb45f1c31de0b7a3fa536d1cb1cc7213aada4..1823833419c4f9193ca3cf5d18ae79fb6fcb2981 100644 (file)
  */
 #undef ROTATE
 #ifndef PEDANTIC
-# if defined(_MSC_VER) || defined(__ICC)
+# if defined(_MSC_VER)
 #  define ROTATE(a,n)   _lrotl(a,n)
+# elif defined(__ICC)
+#  define ROTATE(a,n)   _rotl(a,n)
 # elif defined(__MWERKS__)
 #  if defined(__POWERPC__)
 #   define ROTATE(a,n)  __rlwinm(a,n,0,31)