diff options
author | Werner Koch <[email protected]> | 2015-10-12 07:31:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-10-12 07:31:44 +0000 |
commit | 4584125802be11833a5b289e864b45eedc2b45fd (patch) | |
tree | c9c1196c84f70b0bfc69a50adfe216da06c30408 /dirmngr/crlcache.c | |
parent | Post release updates. (diff) | |
download | gnupg-4584125802be11833a5b289e864b45eedc2b45fd.tar.gz gnupg-4584125802be11833a5b289e864b45eedc2b45fd.zip |
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 <[email protected]>
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions