diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2020-03-18 03:47:48 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2020-03-19 21:55:41 -0300 |
commit | b27b23a7f9bc33a842e0c17369bf3dc23e48ccd6 (patch) | |
tree | 7bf4003aeaa4d6d2bb9ef22bd4beba4cb4633ee4 /mime-node.c | |
parent | 1c390652455356c9acfea0eb982c688e2f09e47a (diff) |
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>
Diffstat (limited to 'mime-node.c')
-rw-r--r-- | mime-node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mime-node.c b/mime-node.c index d4996a33..e531078c 100644 --- a/mime-node.c +++ b/mime-node.c @@ -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); |