mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
mime-node: Pass the correct flags to g_mime_multipart_signed_verify
GMIME_ENCRYPT_NONE and GMIME_VERIFY_NONE have the same value, but they are different enumerated types. So in C, this is a cosmetic change, but it is technically correct if we only had stricter typing. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
1c39065245
commit
b27b23a7f9
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ node_verify (mime_node_t *node, GMimeObject *part)
|
|||
|
||||
node->verify_attempted = true;
|
||||
node->sig_list = g_mime_multipart_signed_verify (
|
||||
GMIME_MULTIPART_SIGNED (part), GMIME_ENCRYPT_NONE, &err);
|
||||
GMIME_MULTIPART_SIGNED (part), GMIME_VERIFY_NONE, &err);
|
||||
|
||||
if (node->sig_list)
|
||||
set_signature_list_destructor (node);
|
||||
|
|
Loading…
Reference in a new issue