Change cast in function calls to that which is, I think, the right
one for those functions (is it?).
This commit is contained in:
parent
1b24cca969
commit
dbd1e38482
@ -486,7 +486,7 @@ void HASH_UPDATE (HASH_CTX *c, const unsigned char *data, unsigned long len)
|
||||
#endif
|
||||
#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;
|
||||
data+=sw;
|
||||
len-=sw;
|
||||
@ -524,7 +524,7 @@ void HASH_TRANSFORM (HASH_CTX *c, unsigned char *data)
|
||||
#endif
|
||||
#endif
|
||||
#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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user