diff options
author | Ulf Möller <ulf@openssl.org> | 1999-06-01 09:41:13 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-06-01 09:41:13 +0000 |
commit | 0a78c2976007c89d05c1b546433db57319e814d8 (patch) | |
tree | f0188da0d3e41879d534b871876ab15e13022d94 /crypto/md32_common.h | |
parent | 246ffa45717369722ca651e15f01bba354581aa6 (diff) | |
download | openssl-new-0a78c2976007c89d05c1b546433db57319e814d8.tar.gz |
Borland C fix.
Submitted by: Andy Polyakov
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r-- | crypto/md32_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h index f19e1bf7ca..e88d78c27b 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -315,7 +315,7 @@ # endif #endif -#if !defined(HASH_BLOCK_DATA_ORDER_ALIGNED) || HASH_BLOCK_DATA_ORDER_ALIGNED==1 +#if !defined(HASH_BLOCK_DATA_ORDER_ALIGNED) #ifndef HASH_BLOCK_DATA_ORDER #error "HASH_BLOCK_DATA_ORDER must be defined!" #endif @@ -461,7 +461,7 @@ void HASH_UPDATE (HASH_CTX *c, const unsigned char *data, unsigned long len) sw=len/HASH_CBLOCK; if (sw > 0) { -#if defined(HASH_BLOCK_DATA_ORDER_ALIGNED) && HASH_BLOCK_DATA_ORDER_ALIGNED!=1 +#if defined(HASH_BLOCK_DATA_ORDER_ALIGNED) /* * Note that HASH_BLOCK_DATA_ORDER_ALIGNED gets defined * only if sizeof(HASH_LONG)==4. @@ -513,7 +513,7 @@ void HASH_UPDATE (HASH_CTX *c, const unsigned char *data, unsigned long len) void HASH_TRANSFORM (HASH_CTX *c, const unsigned char *data) { -#if defined(HASH_BLOCK_DATA_ORDER_ALIGNED) && HASH_BLOCK_DATA_ORDER_ALIGNED!=1 +#if defined(HASH_BLOCK_DATA_ORDER_ALIGNED) if ((((unsigned long)data)%4) == 0) /* data is properly aligned so that we can cast it: */ HASH_BLOCK_DATA_ORDER_ALIGNED (c,(HASH_LONG *)data,1); |