Patch the omission from prvious commit #17716.
authorAndy Polyakov <appro@openssl.org>
Tue, 23 Dec 2008 11:38:33 +0000 (11:38 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 23 Dec 2008 11:38:33 +0000 (11:38 +0000)
crypto/aes/aes_cbc.c
crypto/camellia/cmll_cbc.c

index 2ae0f4a..227f756 100644 (file)
@@ -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);
 }
index 400a248..4c8d455 100644 (file)
@@ -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);
        }