From a11974180fa5ebd4f15157e40b10a3a16e4eae5c Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 23 Dec 2008 11:38:33 +0000 Subject: [PATCH] Patch the omission from prvious commit #17716. --- crypto/aes/aes_cbc.c | 4 ++-- crypto/camellia/cmll_cbc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/aes/aes_cbc.c b/crypto/aes/aes_cbc.c index 2ae0f4a365..227f75625d 100644 --- a/crypto/aes/aes_cbc.c +++ b/crypto/aes/aes_cbc.c @@ -57,7 +57,7 @@ void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, unsigned char *ivec, const int enc) { if (enc) - CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block_f)AES_encrypt); + CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)AES_encrypt); else - CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block_f)AES_decrypt); + CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)AES_decrypt); } diff --git a/crypto/camellia/cmll_cbc.c b/crypto/camellia/cmll_cbc.c index 400a248850..4c8d455ade 100644 --- a/crypto/camellia/cmll_cbc.c +++ b/crypto/camellia/cmll_cbc.c @@ -58,7 +58,7 @@ void Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out, { if (enc) - CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block_f)Camellia_encrypt); + CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)Camellia_encrypt); else - CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block_f)Camellia_decrypt); + CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)Camellia_decrypt); } -- 2.25.1