Commit 6e64f634 authored by Milan Crha's avatar Milan Crha

I#64 - S/MIME: Two signerInfos (one *invalid*, one valid) are merged into a single valid indicator

Closes GNOME/evolution-data-server#64
parent e7ec76e5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment