diff options
-rw-r--r-- | mime-node.c | 2 | ||||
-rwxr-xr-x | test/T350-crypto.sh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mime-node.c b/mime-node.c index 2a24e537..1bfb479b 100644 --- a/mime-node.c +++ b/mime-node.c @@ -218,12 +218,12 @@ node_decrypt_and_verify (mime_node_t *node, GMimeObject *part, } node->decrypt_success = true; - node->verify_attempted = true; if (decrypt_result) { /* This may be NULL if the part is not signed. */ node->sig_list = g_mime_decrypt_result_get_signatures (decrypt_result); if (node->sig_list) { + node->verify_attempted = true; g_object_ref (node->sig_list); set_signature_list_destructor (node); } diff --git a/test/T350-crypto.sh b/test/T350-crypto.sh index 7b10f434..2f793e96 100755 --- a/test/T350-crypto.sh +++ b/test/T350-crypto.sh @@ -269,7 +269,6 @@ expected='[[[{"id": "XXXXX", "Date": "Sat, 01 Jan 2000 12:00:00 +0000"}, "body": [{"id": 1, "encstatus": [{"status": "good"}], - "sigstatus": [], "content-type": "multipart/encrypted", "content": [{"id": 2, "content-type": "application/pgp-encrypted", |