提交 d7a9e916 编写于 作者: B Ben Laurie

Remove unnecessary casts.

上级 601cb9be
...@@ -69,7 +69,7 @@ void BF_set_key(BF_KEY *key, int len, const unsigned char *data) ...@@ -69,7 +69,7 @@ void BF_set_key(BF_KEY *key, int len, const unsigned char *data)
const unsigned char *d,*end; const unsigned char *d,*end;
memcpy((char *)key,(char *)&bf_init,sizeof(BF_KEY)); memcpy(key,&bf_init,sizeof(BF_KEY));
p=key->P; p=key->P;
if (len > ((BF_ROUNDS+2)*4)) len=(BF_ROUNDS+2)*4; if (len > ((BF_ROUNDS+2)*4)) len=(BF_ROUNDS+2)*4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册