Add casts.

This commit is contained in:
christos 2005-11-25 22:28:31 +00:00
parent 859fae516a
commit b1d8541f7b
1 changed files with 2 additions and 2 deletions

View File

@ -433,8 +433,8 @@ int main(int argc, char *argv[])
memcpy(in,plain_data[i],8);
memset(out,0,8);
memset(outin,0,8);
DES_ecb2_encrypt(in,out,&ks,&ks2,DES_ENCRYPT);
DES_ecb2_encrypt(out,outin,&ks,&ks2,DES_DECRYPT);
DES_ecb2_encrypt((const_DES_cblock *)in,(DES_cblock *)out,&ks,&ks2,DES_ENCRYPT);
DES_ecb2_encrypt((const_DES_cblock *)out,(DES_cblock *)outin,&ks,&ks2,DES_DECRYPT);
if (memcmp(out,cipher_ecb2[i],8) != 0)
{