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

avoid cast

上级 a63a3f58
...@@ -166,7 +166,7 @@ int des_set_key(const_des_cblock *key, des_key_schedule schedule) ...@@ -166,7 +166,7 @@ int des_set_key(const_des_cblock *key, des_key_schedule schedule)
return(-2); return(-2);
} }
k=(DES_LONG *)schedule; k = &schedule->ks.deslong[0];
in = &(*key)[0]; in = &(*key)[0];
c2l(in,c); c2l(in,c);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册