Make 3DES default cipher in cms utility.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 18 Mar 2008 19:03:03 +0000 (19:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 18 Mar 2008 19:03:03 +0000 (19:03 +0000)
apps/cms.c

index 9de8c7e2c7f016f330e574c77adb8b41fb052db2..a280d8e19c94b2abdafc07329ff1249e130cbad2 100644 (file)
@@ -585,8 +585,8 @@ int MAIN(int argc, char **argv)
                {
                if (!cipher)
                        {
-#ifndef OPENSSL_NO_RC2                 
-                       cipher = EVP_rc2_40_cbc();
+#ifndef OPENSSL_NO_DES                 
+                       cipher = EVP_des_ede3_cbc();
 #else
                        BIO_printf(bio_err, "No cipher selected\n");
                        goto end;