1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00
Werner Koch 4584125802
gpg: Try hard to use MDC also for sign+symenc.
* g10/encrypt.c (use_mdc): Make it a global func.
* g10/sign.c (sign_symencrypt_file): Use that function to decide
whether to use an MDC.
* tests/openpgp/conventional-mdc.test: Add a simple test case.
--

We used --force-mdc in sign+symenc mode (-cs) only with --force-mdc.
That broke our assumption from commit 625e292 (GnuPG 2.1.9) that all
uses of modern ciphers are using MDC.

Reported-by: Ben Kibbey <bjk@luxsci.net>
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-10-12 09:31:44 +02:00
..
2015-05-16 12:20:02 +02:00
2007-10-25 09:06:21 +00:00
2007-10-25 09:06:21 +00:00
2010-06-07 13:33:02 +00:00
2007-10-25 09:06:21 +00:00
2006-10-02 11:54:35 +00:00
2010-05-07 13:13:56 +00:00
2010-05-07 13:13:56 +00:00
2010-10-14 16:34:31 +00:00
2007-10-25 09:06:21 +00:00
2007-10-25 09:06:21 +00:00
2014-08-18 12:55:54 +02:00
2010-10-14 16:34:31 +00:00
2010-10-14 16:36:47 +00:00
2014-02-10 10:41:48 +01:00
2010-10-14 16:34:31 +00:00
2010-10-14 16:34:31 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2007-10-25 09:06:21 +00:00