[gmime/gmime-2-4] Don't init crypto unless crypt was enabled
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime/gmime-2-4] Don't init crypto unless crypt was enabled
- Date: Fri, 16 Dec 2011 03:05:10 +0000 (UTC)
commit 4ebbf9ad23fdff50d45ef1c997983b5a2ccf011f
Author: Jeffrey Stedfast <fejj gnome org>
Date: Thu Dec 15 22:04:29 2011 -0500
Don't init crypto unless crypt was enabled
2011-12-15 Jeffrey Stedfast <fejj gnome org>
* gmime/gmime.c (g_mime_init): Don't initialize the crypto types
unless crypto was enabled in the build.
ChangeLog | 5 +++++
gmime/gmime.c | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1362641..2cf2aeb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-15 Jeffrey Stedfast <fejj gnome org>
+
+ * gmime/gmime.c (g_mime_init): Don't initialize the crypto types
+ unless crypto was enabled in the build.
+
2011-11-06 Jeffrey Stedfast <fejj gnome org>
* README: Bumped version
diff --git a/gmime/gmime.c b/gmime/gmime.c
index 47dd06f..9e9d2a3 100644
--- a/gmime/gmime.c
+++ b/gmime/gmime.c
@@ -109,8 +109,10 @@ g_mime_init (guint32 flags)
gmime_error_quark = g_quark_from_static_string ("gmime");
/* register our GObject types with the GType system */
+#ifdef ENABLE_CRYPTOGRAPHY
g_mime_cipher_context_get_type ();
g_mime_gpg_context_get_type ();
+#endif
g_mime_filter_get_type ();
g_mime_filter_basic_get_type ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]