summaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-02-09 12:09:57 +0100
committerWerner Koch <wk@gnupg.org>2009-02-09 12:09:57 +0100
commit02890eedd8d5dec863f17933d9879382d407278f (patch)
tree9cf7ca9ebce8e238a3e62675e6725582fb440de6 /sm
parentChange default gpgsm cipher back to 3DES. (diff)
downloadgnupg2-02890eedd8d5dec863f17933d9879382d407278f.tar.xz
gnupg2-02890eedd8d5dec863f17933d9879382d407278f.zip
Fix bug#998.
Diffstat (limited to 'sm')
-rw-r--r--sm/gpgsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index dd9788b79..94826ce79 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -893,7 +893,7 @@ main ( int argc, char **argv)
/* Note: If you change this default cipher algorithm , please
remember to update the Gpgconflist entry as well. */
- opt.def_cipher_algoid = "AES"; /*des-EDE3-CBC*/
+ opt.def_cipher_algoid = "3DES"; /*des-EDE3-CBC*/
opt.homedir = default_homedir ();
@@ -1607,7 +1607,7 @@ main ( int argc, char **argv)
#ifndef HAVE_W32_SYSTEM
printf ("prefer-system-dirmngr:%lu:\n", GC_OPT_FLAG_NONE);
#endif
- printf ("cipher-algo:%lu:\"AES:\n", GC_OPT_FLAG_DEFAULT);
+ printf ("cipher-algo:%lu:\"3DES:\n", GC_OPT_FLAG_DEFAULT);
printf ("p12-charset:%lu:\n", GC_OPT_FLAG_DEFAULT);
printf ("default-key:%lu:\n", GC_OPT_FLAG_DEFAULT);
printf ("encrypt-to:%lu:\n", GC_OPT_FLAG_DEFAULT);