diff options
author | Werner Koch <[email protected]> | 2017-12-13 12:02:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-12-13 12:02:34 +0000 |
commit | 416cf9e9be5d2daf0ef629208031989699b3653f (patch) | |
tree | cf0dab23d018a81924a3a97547ae456e0d790cb4 /common/sysutils.c | |
parent | gpg: Simplify cipher:write_header. (diff) | |
download | gnupg-416cf9e9be5d2daf0ef629208031989699b3653f.tar.gz gnupg-416cf9e9be5d2daf0ef629208031989699b3653f.zip |
gpg: Print a warning for too much data encrypted with 3DES et al.
* g10/filter.h (cipher_filter_context_t): Remove unused filed
'create_mdc'. Turn field 'header' into a bit field. Add new fields
'short_blklen_warn' and 'short_blklen_count'.
* g10/cipher.c (write_header): Print a warning if MDC is not used.
(cipher_filter): Print a warning for long messages encrypted with a
short block length algorithm.
--
Note that to test this warning in a reliable way compression needs to
be disabled.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions