aboutsummaryrefslogtreecommitdiffstats
path: root/common/mkdir_p.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-06 07:40:57 +0000
committerWerner Koch <[email protected]>2015-10-06 07:44:15 +0000
commit625e292108cc0fd9077769587a8c22abe7805e33 (patch)
tree156c7e11ea3285d6e5fdb542a7d5fd966e7b47b4 /common/mkdir_p.c
parentagent: Fix verification of signature for smartcard. (diff)
downloadgnupg-625e292108cc0fd9077769587a8c22abe7805e33.tar.gz
gnupg-625e292108cc0fd9077769587a8c22abe7805e33.zip
gpg: Fail decryption for AES etc message w/o MDC.
* g10/mainproc.c (proc_encrypted): Fail for modern messages w/o MDC. -- This change turns the missing MDC warning into an error if the message has been encrypted using a cipher with a non-64 bit block length cipher and it is not Twofish. We can assume that such messages are created by code which should have been able to create MDC packets. AES was introduced with 1.0.3 on 2000-09-18 shortly after MDC (1.0.2 on 2000-07-12). We need to exclude Twofish because that might have been used before MDC. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions