* fips/cmac/fips_cmactest.c: Some say TDEA, others say TDES. Support
authorRichard Levitte <levitte@openssl.org>
Fri, 25 Mar 2011 08:44:37 +0000 (08:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 25 Mar 2011 08:44:37 +0000 (08:44 +0000)
  both names.

fips/cmac/fips_cmactest.c

index 63349c1..5930b98 100644 (file)
@@ -130,7 +130,7 @@ int main(int argc, char **argv)
                                cipher = EVP_aes_192_cbc();
                        else if (!strcmp(p, "aes256"))
                                cipher = EVP_aes_256_cbc();
-                       else if (!strcmp(p, "tdea3"))
+                       else if (!strcmp(p, "tdea3") || !strcmp(p, "tdes3"))
                                {
                                cipher = EVP_des_ede3_cbc();
                                Klen_counts_keys = 1;