aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-06-06 13:46:24 +0000
committerWerner Koch <[email protected]>2018-06-06 13:49:00 +0000
commit054a187f24b19313cec59414fa924640e1b8c79c (patch)
tree41d8b22f2055b4a2002033fad4e8912b084461cc /dirmngr/dirmngr.c
parentgpg: New command --show-keys. (diff)
downloadgnupg-054a187f24b19313cec59414fa924640e1b8c79c.tar.gz
gnupg-054a187f24b19313cec59414fa924640e1b8c79c.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 <[email protected]> (cherry picked from commit 344b548dc71657d0285d93f78f17a2663b5e586f)
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions