diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-09-10 21:11:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-10 21:11:11 +0800 |
commit | 085a0fa503b9d3507a014d6a7a7ac3c2479896e2 (patch) | |
tree | 17094eb47a6492b6d3753dfdb44d1cafb79cb400 /composer/e-msg-composer.c | |
parent | a831ddd7cbbee7457d9b19be14126d2175724c81 (diff) | |
download | gsoc2013-evolution-085a0fa503b9d3507a014d6a7a7ac3c2479896e2.tar.gz gsoc2013-evolution-085a0fa503b9d3507a014d6a7a7ac3c2479896e2.tar.zst gsoc2013-evolution-085a0fa503b9d3507a014d6a7a7ac3c2479896e2.zip |
** Fixes bug #551548
2008-09-10 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #551548
* composer/e-msg-composer.c:
* composer/e-composer-action.c:
Remove pointless SMIME_SUPPORTED check, which was hard-coded to 1.
svn path=/trunk/; revision=36294
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 3a077c0aa6..0b3760159b 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -41,8 +41,6 @@ #include <config.h> #endif -#define SMIME_SUPPORTED 1 - #include <stdlib.h> #include <string.h> #include <sys/types.h> @@ -87,7 +85,7 @@ #include <camel/camel-multipart-encrypted.h> #include <camel/camel-string-utils.h> #include <camel/camel-cipher-context.h> -#if defined (HAVE_NSS) && defined (SMIME_SUPPORTED) +#if defined (HAVE_NSS) #include <camel/camel-smime-context.h> #endif @@ -759,7 +757,7 @@ build_message (EMsgComposer *composer, action = GTK_TOGGLE_ACTION (ACTION (PGP_ENCRYPT)); pgp_encrypt = gtk_toggle_action_get_active (action); -#if defined (HAVE_NSS) && defined (SMIME_SUPPORTED) +#if defined (HAVE_NSS) action = GTK_TOGGLE_ACTION (ACTION (SMIME_SIGN)); smime_sign = gtk_toggle_action_get_active (action); @@ -855,7 +853,7 @@ build_message (EMsgComposer *composer, camel_object_unref (part); } -#if defined (HAVE_NSS) && defined (SMIME_SUPPORTED) +#if defined (HAVE_NSS) if (smime_sign || smime_encrypt) { CamelInternetAddress *from = NULL; CamelCipherContext *cipher; @@ -943,7 +941,7 @@ build_message (EMsgComposer *composer, camel_mime_part_set_encoding (CAMEL_MIME_PART (new), plain_encoding); camel_object_unref (current); -#if defined (HAVE_NSS) && defined (SMIME_SUPPORTED) +#if defined (HAVE_NSS) skip_content: #endif if (recipients) { |