Change cast in function calls to that which is, I think, the right

one for those functions (is it?).
This commit is contained in:
Bodo Möller 1999-05-14 11:47:29 +00:00
parent 1b24cca969
commit dbd1e38482

View File

@ -486,7 +486,7 @@ void HASH_UPDATE (HASH_CTX *c, const unsigned char *data, unsigned long len)
#endif #endif
#if defined(HASH_BLOCK_DATA_ORDER) #if defined(HASH_BLOCK_DATA_ORDER)
{ {
HASH_BLOCK_DATA_ORDER (c,(HASH_LONG *)data,sw); HASH_BLOCK_DATA_ORDER(c,(const unsigned char *)data,sw);
sw*=HASH_CBLOCK; sw*=HASH_CBLOCK;
data+=sw; data+=sw;
len-=sw; len-=sw;
@ -524,7 +524,7 @@ void HASH_TRANSFORM (HASH_CTX *c, unsigned char *data)
#endif #endif
#endif #endif
#if defined(HASH_BLOCK_DATA_ORDER) #if defined(HASH_BLOCK_DATA_ORDER)
HASH_BLOCK_DATA_ORDER (c,(HASH_LONG *)data,1); HASH_BLOCK_DATA_ORDER (c,(const unsigned char *)data,1);
#endif #endif
} }