[balsa/gtk3] Fix bgo #720443 (Lilith Bryant)



commit 2852bda20f18d879d6d4c2c27b5fa4c665660762
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Dec 16 21:02:01 2013 -0500

    Fix bgo #720443 (Lilith Bryant)
    
        * libbalsa/rfc3156.c (libbalsa_body_decrypt): trivial patch
        to fix the OL pk7 S/MIME issue.

 ChangeLog          |    7 +++++++
 libbalsa/rfc3156.c |    4 +++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8b857f6..6b383a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-12-16  Albrecht Dreß
+
+       Fix bgo #720443 (Lilith Bryant, dark141 at gmail dot com)
+
+       * libbalsa/rfc3156.c (libbalsa_body_decrypt): trivial patch
+       to fix the OL pk7 S/MIME issue.
+
 2013-12-13  Peter Bloomfield
 
        Fix S/MIME sending and Outlook2007 reception; bgo #720423
diff --git a/libbalsa/rfc3156.c b/libbalsa/rfc3156.c
index e7358a6..c1ac732 100644
--- a/libbalsa/rfc3156.c
+++ b/libbalsa/rfc3156.c
@@ -449,7 +449,9 @@ libbalsa_body_decrypt(LibBalsaMessageBody *body, gpgme_protocol_t protocol, GtkW
        if (!smime_type || !GMIME_IS_PART(body->mime_part))
            return body;
        if (!g_ascii_strcasecmp(smime_type, "enveloped-data"))
-           smime_encrypted = FALSE;
+           smime_encrypted = TRUE;
+       else
+            smime_encrypted = body->was_encrypted;
     }
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]