[evolution-data-server] I#64 - S/MIME: Two signerInfos (one *invalid*, one valid) are merged into a single valid indicator
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] I#64 - S/MIME: Two signerInfos (one *invalid*, one valid) are merged into a single valid indicator
- Date: Wed, 5 Dec 2018 11:58:09 +0000 (UTC)
commit 471331766ed487ce7148899476e04625fafa9083
Author: Milan Crha <mcrha redhat com>
Date: Wed Dec 5 12:57:25 2018 +0100
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
src/camel/camel-smime-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]