summaryrefslogtreecommitdiffstats
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-10-29 10:48:39 +0100
committerAndy Polyakov <appro@openssl.org>2014-10-29 10:48:39 +0100
commitd45282fc7cd9b97ed1479f8b8af713337fce57f5 (patch)
treebeac82e4da8dc49290a17fa16c0756ef62435ec9 /crypto/md32_common.h
parentUse only unsigned arithmetic in constant-time operations (diff)
downloadopenssl-d45282fc7cd9b97ed1479f8b8af713337fce57f5.tar.xz
openssl-d45282fc7cd9b97ed1479f8b8af713337fce57f5.zip
md32_common.h: address compiler warning in HOST_c2l.
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index 16f363a582..21461548d1 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -236,8 +236,7 @@
#define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \
l|=(((unsigned long)(*((c)++)))<<16), \
l|=(((unsigned long)(*((c)++)))<< 8), \
- l|=(((unsigned long)(*((c)++))) ), \
- l)
+ l|=(((unsigned long)(*((c)++))) ) )
#endif
#ifndef HOST_l2c
#define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
@@ -273,8 +272,7 @@
#define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++))) ), \
l|=(((unsigned long)(*((c)++)))<< 8), \
l|=(((unsigned long)(*((c)++)))<<16), \
- l|=(((unsigned long)(*((c)++)))<<24), \
- l)
+ l|=(((unsigned long)(*((c)++)))<<24) )
#endif
#ifndef HOST_l2c
#define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \