提交 dbd1e384 编写于 作者: B Bodo Möller

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

one for those functions (is it?).
上级 1b24cca9
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册