aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
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;