diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-05-21 10:39:11 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-05-21 11:28:57 +0100 |
commit | cd302feb5d54166f9a7ca766137f1b33aa91efd8 (patch) | |
tree | 9e6739de82c908634501d608cfb0eef9967b25c2 | |
parent | 5cd1a6fc3eae07ee6a8a627c5c31f5b38bc3a35c (diff) |
Change default cipher in smime app to des3.
PR#3357
(cherry picked from commit ca3ffd9670f2b589bf8cc04923f953e06d6fbc58)
-rw-r--r-- | apps/smime.c | 4 | ||||
-rw-r--r-- | doc/apps/smime.pod | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/smime.c b/apps/smime.c index c583f8a0e1..d1fe32d31b 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -541,8 +541,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; diff --git a/doc/apps/smime.pod b/doc/apps/smime.pod index 3aa6e848af..d39a59a90d 100644 --- a/doc/apps/smime.pod +++ b/doc/apps/smime.pod @@ -159,7 +159,7 @@ EVP_get_cipherbyname() function) can also be used preceded by a dash, for example B<-aes_128_cbc>. See L<B<enc>|enc(1)> for list of ciphers supported by your version of OpenSSL. -If not specified 40 bit RC2 is used. Only used with B<-encrypt>. +If not specified triple DES is used. Only used with B<-encrypt>. =item B<-nointern> |