From b1d8541f7b7b0e55d9401613a75ffce184374ee9 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 25 Nov 2005 22:28:31 +0000 Subject: [PATCH] Add casts. --- crypto/dist/openssl/crypto/des/destest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/dist/openssl/crypto/des/destest.c b/crypto/dist/openssl/crypto/des/destest.c index 5e98a559421e..6b9315f9da87 100644 --- a/crypto/dist/openssl/crypto/des/destest.c +++ b/crypto/dist/openssl/crypto/des/destest.c @@ -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) {