Fix missing IDEA renames (windows build)
authorMichel <michel.sales@free.fr>
Wed, 20 Apr 2016 18:38:35 +0000 (14:38 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 20 Apr 2016 18:48:54 +0000 (14:48 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/evp/e_idea.c

index 38e0c0a77b0561a67d5de3327a4fbe2b3ef05b82..3587742eb9d6e29d5681c19521b72f4135b0dbcb 100644 (file)
@@ -82,13 +82,13 @@ static int idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
                            const unsigned char *in, size_t inl)
 {
     BLOCK_CIPHER_ecb_loop()
-        idea_ecb_encrypt(in + i, out + i, &EVP_C_DATA(EVP_IDEA_KEY,ctx)->ks);
+        IDEA_ecb_encrypt(in + i, out + i, &EVP_C_DATA(EVP_IDEA_KEY,ctx)->ks);
     return 1;
 }
 
-BLOCK_CIPHER_func_cbc(idea, idea, EVP_IDEA_KEY, ks)
-BLOCK_CIPHER_func_ofb(idea, idea, 64, EVP_IDEA_KEY, ks)
-BLOCK_CIPHER_func_cfb(idea, idea, 64, EVP_IDEA_KEY, ks)
+BLOCK_CIPHER_func_cbc(idea, IDEA, EVP_IDEA_KEY, ks)
+BLOCK_CIPHER_func_ofb(idea, IDEA, 64, EVP_IDEA_KEY, ks)
+BLOCK_CIPHER_func_cfb(idea, IDEA, 64, EVP_IDEA_KEY, ks)
 
 BLOCK_CIPHER_defs(idea, IDEA_KEY_SCHEDULE, NID_idea, 8, 16, 8, 64,
                   0, idea_init_key, NULL,