]> git.notmuchmail.org Git - notmuch/commit
Do not replace multipart/signed part with content part when doing verification.
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 27 May 2011 10:27:36 +0000 (03:27 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 May 2011 23:22:00 +0000 (16:22 -0700)
commit54045197498f540b4ba96344073994bac13a3039
tree5584ff5cb08621400b8cf470d73e53de14ff1e52
parent1d6b49561f50d6cde1b473f9887e37748e49c02c
Do not replace multipart/signed part with content part when doing verification.

Some folks have complained about the part renumbering that occurs when
the entire multipart/signed part is replaced with the part contents
after verification.  This is primarily because it incurs an additional
computational cost to retrieve individual parts, since verification
has to be performed again to ensure that part numbering is consistent.
This patch simply leaves the full multipart/signed part as is.

The emacs crypto test is also updated to reflect this change.
show-message.c
test/crypto