diff options
Diffstat (limited to '')
-rw-r--r-- | g10/encode.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/g10/encode.c b/g10/encode.c index 95df2f682..f841dc97b 100644 --- a/g10/encode.c +++ b/g10/encode.c @@ -1,6 +1,6 @@ /* encode.c - encode data - * Copyright (C) 1998, 1999, 2000, 2001, 2002, - * 2003 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, + * 2004 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -217,6 +217,10 @@ encode_simple( const char *filename, int mode, int use_seskey ) m_free( cfx.dek ); cfx.dek = dek; } + if(opt.verbose) + log_info(_("using cipher %s\n"), + cipher_algo_to_string(cfx.dek->algo)); + cfx.dek->use_mdc=use_mdc(NULL,cfx.dek->algo); } |