From: Daniel Kahn Gillmor Date: Thu, 29 Aug 2019 15:38:51 +0000 (-0400) Subject: util/repair: add _notmuch_repair_crypto_payload_skip_legacy_display X-Git-Tag: archive/debian/0.30_rc0-1~146 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=ff3d873f0b80b023764fe9d3fc0609b81d82775e;hp=ff3d873f0b80b023764fe9d3fc0609b81d82775e;p=notmuch util/repair: add _notmuch_repair_crypto_payload_skip_legacy_display This is a utility function designed to make it easier to "fast-forward" past a legacy-display part associated with a cryptographic envelope, and show the user the intended message body. The bulk of the ugliness in here is in the test function _notmuch_crypto_payload_has_legacy_display, which tests all of the things we'd expect to be true in a a cryptographic payload that contains a legacy display part. Signed-off-by: Daniel Kahn Gillmor ---