]> git.notmuchmail.org Git - notmuch/commit
cli/show: If a leaf part has children, show them instead of omitting
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 12 May 2020 22:29:34 +0000 (18:29 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 23 May 2020 01:11:17 +0000 (22:11 -0300)
commitf12fb4d819956cb467b22183f0416fed44703d0f
tree9c24a969cdb4e8294590acd064d7442ec3a04901
parent5f4aceee26ca6db3cdd09ff69220a63e07976a01
cli/show: If a leaf part has children, show them instead of omitting

Until we did PKCS#7 unwrapping, no leaf MIME part could have a child.

Now, we treat the unwrapped MIME part as the child of the PKCS#7
SignedData object.  So in that case, we want to show it instead of
deliberately omitting the content.

This fixes the test of the protected subject in
id:smime-onepart-signed@protected-headers.example.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
notmuch-show.c
test/T355-smime.sh
test/T356-protected-headers.sh