[gmime] Fix compilation when SMIME is not enabled
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Fix compilation when SMIME is not enabled
- Date: Mon, 9 Jan 2012 18:30:11 +0000 (UTC)
commit 0b4dd84bc39b72ec3aa3a5b5719bb201abd743e3
Author: Jeffrey Stedfast <jeff xamarin com>
Date: Mon Jan 9 13:29:42 2012 -0500
Fix compilation when SMIME is not enabled
2012-01-09 Ionut Biru <ibiru archlinux org>
* gmime/gmime-pkcs7-context.c: Fix compilation when S/MIME is not enabled.
ChangeLog | 4 ++++
gmime/gmime-pkcs7-context.c | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f6258b2..411e667 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-09 Ionut Biru <ibiru archlinux org>
+
+ * gmime/gmime-pkcs7-context.c: Fix compilation when S/MIME is not enabled.
+
2012-01-08 Jeffrey Stedfast <fejj gnome org>
* README: Bumped version
diff --git a/gmime/gmime-pkcs7-context.c b/gmime/gmime-pkcs7-context.c
index 4a5803e..7f8774a 100644
--- a/gmime/gmime-pkcs7-context.c
+++ b/gmime/gmime-pkcs7-context.c
@@ -743,7 +743,7 @@ pkcs7_encrypt (GMimeCryptoContext *context, gboolean sign, const char *userid,
#endif /* ENABLE_SMIME */
}
-
+#ifdef ENABLE_SMIME
static GMimeDecryptResult *
pkcs7_get_decrypt_result (Pkcs7Ctx *pkcs7)
{
@@ -772,6 +772,7 @@ pkcs7_get_decrypt_result (Pkcs7Ctx *pkcs7)
return result;
}
+#endif /* ENABLE_SMIME */
static GMimeDecryptResult *
pkcs7_decrypt (GMimeCryptoContext *context, GMimeStream *istream,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]