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 2ae0f4a365d982da8de3d9bc52593c33e74edb87..227f75625dba917eda4823f6533ff6c41abd437b 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 400a248850b7adc4f4c7a98ffacd61fb611990d5..4c8d455adef3d90d2d03c068b76980782dd90aab 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);
        }