From 9013c9cbd6522432ea75f4d28e7b3e513c22f76e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 10 Sep 2001 20:05:42 +0000 Subject: Wrap the S/MIME code in ifdef SMIME_SUPPORTED which isn't defined but by 2001-09-10 Jeffrey Stedfast * 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 --- composer/ChangeLog | 7 +++++++ composer/e-msg-composer.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index 8cd8ef3d37..1c06133db3 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2001-09-10 Jeffrey Stedfast + + * 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. + 2001-09-09 Maciej Stachowiak * Makefile.am: Add VFS_CFLAGS so things don't break when the 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; -- cgit v1.2.3