]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Change default cipher in smime app to des3.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 21 May 2014 09:39:11 +0000 (10:39 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 21 May 2014 10:21:12 +0000 (11:21 +0100)
PR#3357
(cherry picked from commit ca3ffd9670f2b589bf8cc04923f953e06d6fbc58)

Conflicts:

doc/apps/smime.pod

apps/smime.c
doc/apps/smime.pod

index 75804b8d7b77ac8bab02579bd20dd01fb969a6b5..858e958b882da13b8ce9ff7d77800122f3f797ce 100644 (file)
@@ -521,8 +521,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;
index 1b0d4f95392a671ca44255768a91dbf4d89b583d..bc8f05908575ca080c52e5ebf7f1e6066c55530e 100644 (file)
@@ -135,8 +135,8 @@ to each certificate.
 =item B<-des -des3 -rc2-40 -rc2-64 -rc2-128 -aes128 -aes192 -aes256 -camellia128 -camellia192 -camellia256>
 
 the encryption algorithm to use. DES (56 bits), triple DES (168 bits),
-40, 64 or 128 bit RC2, 128, 192 or 256 bit AES, or 128, 192 or 256 bit Camellia respectively.  If not
-specified 40 bit RC2 is used. Only used with B<-encrypt>.
+40, 64 or 128 bit RC2, 128, 192 or 256 bit AES, or 128, 192 or 256 bit Camellia respectively.
+If not specified triple DES is used. Only used with B<-encrypt>.
 
 =item B<-nointern>