aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-11 04:05:42 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-11 04:05:42 +0800
commit9013c9cbd6522432ea75f4d28e7b3e513c22f76e (patch)
treebeaafc2684b52d5a72184d92ecc6cad8c17fae80 /composer/e-msg-composer.c
parentec863224a508a7e40243ae1187316d867c4b5bcc (diff)
downloadgsoc2013-evolution-9013c9cbd6522432ea75f4d28e7b3e513c22f76e.tar.gz
gsoc2013-evolution-9013c9cbd6522432ea75f4d28e7b3e513c22f76e.tar.zst
gsoc2013-evolution-9013c9cbd6522432ea75f4d28e7b3e513c22f76e.zip
Wrap the S/MIME code in ifdef SMIME_SUPPORTED which isn't defined but by
2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Wrap the S/MIME code in ifdef SMIME_SUPPORTED which isn't defined but by some later version will be. (setup_ui): And again here. svn path=/trunk/; revision=12742
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 200205a1ad..733fc6e363 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -511,7 +511,7 @@ build_message (EMsgComposer *composer)
camel_mime_part_set_encoding (CAMEL_MIME_PART (new), plain_encoding);
camel_object_unref (CAMEL_OBJECT (current));
-#ifdef HAVE_NSS
+#if defined (HAVE_NSS) && defined (SMIME_SUPPORTED)
if (composer->smime_sign) {
CamelInternetAddress *from = NULL;
CamelMimeMessage *smime_mesg;
@@ -1798,7 +1798,7 @@ setup_ui (EMsgComposer *composer)
composer->uic, "SecurityPGPEncrypt",
menu_security_pgp_encrypt_cb, composer);
-#ifdef HAVE_NSS
+#if defined(HAVE_NSS) && defined(SMIME_SUPPORTED)
hide_smime = FALSE;
#else
hide_smime = TRUE;