Make 3DES default cipher in cms utility.

This commit is contained in:
Dr. Stephen Henson 2008-03-18 19:03:03 +00:00
parent 6bd05ad472
commit c220e58f9e

View 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;