summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2018-12-05 12:57:25 +0100
committerMilan Crha <mcrha@redhat.com>2018-12-05 12:57:25 +0100
commit471331766ed487ce7148899476e04625fafa9083 (patch)
tree3b0b28f9c9d6d17451aa6c842b13cec0605af702
parent8cc5603f9bf7eeaec0b36b08a33c7c6a9a5dfc5d (diff)
downloadevolution-data-server-471331766ed487ce7148899476e04625fafa9083.tar.gz
I#64 - S/MIME: Two signerInfos (one *invalid*, one valid) are merged into a single valid indicator
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/64
-rw-r--r--src/camel/camel-smime-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camel/camel-smime-context.c b/src/camel/camel-smime-context.c
index c784af576..214eaa430 100644
--- a/src/camel/camel-smime-context.c
+++ b/src/camel/camel-smime-context.c
@@ -720,7 +720,7 @@ sm_verify_cmsg (CamelCipherContext *context,
}
}
- camel_cipher_validity_set_valid (valid, status == NSSCMSVS_GoodSignature);
+ camel_cipher_validity_set_valid (valid, camel_cipher_validity_get_valid (valid) && status == NSSCMSVS_GoodSignature);
camel_cipher_validity_set_description (valid, description->str);
g_string_free (description, TRUE);