summaryrefslogtreecommitdiffstats
path: root/m4/progtest.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-06-06 15:46:24 +0200
committerWerner Koch <wk@gnupg.org>2018-06-06 15:46:34 +0200
commit344b548dc71657d0285d93f78f17a2663b5e586f (patch)
tree6914e4308f78961eaa9d06373ed1d624a2a75ef7 /m4/progtest.m4
parentgpg: New command --show-keys. (diff)
downloadgnupg2-344b548dc71657d0285d93f78f17a2663b5e586f.tar.xz
gnupg2-344b548dc71657d0285d93f78f17a2663b5e586f.zip
gpg: Also detect a plaintext packet before an encrypted packet.
* g10/mainproc.c (proc_encrypted): Print warning and later force an error. -- Note that when this error is triggered the plaintext from the literal data packet has already been outputted before the BEGIN_DECRYPTION status line. We fail only later to get more information. Callers need to check and act upon the decryption error code anyway. Thanks to Marcus for pointing out this case. GnuPG-bug-id: 4000 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'm4/progtest.m4')
0 files changed, 0 insertions, 0 deletions