X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fmd32_common.h;h=511e5b2aa6da279fbd7fad7944f8c8101a99b495;hp=573850b12289a8d9a73892c596542fc41f881943;hb=8087d8f7ea077445ffce6dc7ac0cbbe4dcdcb2ee;hpb=31166ec8f33f1d1af25901be4411d47ef15ff340 diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 573850b122..511e5b2aa6 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -484,7 +484,7 @@ int HASH_UPDATE (HASH_CTX *c, const void *data_, unsigned long len) 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,sw); + HASH_BLOCK_DATA_ORDER_ALIGNED (c,(const HASH_LONG *)data,sw); sw*=HASH_CBLOCK; data+=sw; len-=sw; @@ -532,7 +532,7 @@ void HASH_TRANSFORM (HASH_CTX *c, const unsigned char *data) #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); + HASH_BLOCK_DATA_ORDER_ALIGNED (c,(const HASH_LONG *)data,1); else #if !defined(HASH_BLOCK_DATA_ORDER) {