diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-04-20 13:02:57 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-04-26 08:03:15 -0300 |
| commit | afb0b11dcd08aa9091be1d89e1c2a9fe6b0e11f0 (patch) | |
| tree | 219627337f49a4d2ce5cca520239b5e7c43563aa /test/T350-crypto.sh | |
| parent | 325a92422737f16377307dbd584158d3ee8cdb51 (diff) | |
crypto: Avoid pretending to verify signatures on unsigned encrypted mail
Unsigned encrypted mail shows up with a weird empty signature list.
If we successfully decrypted and there was no signature in it, we
should just not show a sigstatus at all.
The documentation for g_mime_decrypt_result_get_signatures says:
a GMimeSignatureList or NULL if the stream was not signed.
Diffstat (limited to 'test/T350-crypto.sh')
| -rwxr-xr-x | test/T350-crypto.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T350-crypto.sh b/test/T350-crypto.sh index 7b10f434..2f793e96 100755 --- a/test/T350-crypto.sh +++ b/test/T350-crypto.sh @@ -269,7 +269,6 @@ expected='[[[{"id": "XXXXX", "Date": "Sat, 01 Jan 2000 12:00:00 +0000"}, "body": [{"id": 1, "encstatus": [{"status": "good"}], - "sigstatus": [], "content-type": "multipart/encrypted", "content": [{"id": 2, "content-type": "application/pgp-encrypted", |
