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 9de8c7e..a280d8e 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;