[gmime: 1/7] Fixed the build for --disable-crypto
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime: 1/7] Fixed the build for --disable-crypto
- Date: Tue, 28 Mar 2017 23:46:48 +0000 (UTC)
commit baa72116f31ddc52aba1262d2f700f3f3c05e1f2
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Tue Mar 28 12:47:33 2017 -0400
Fixed the build for --disable-crypto
gmime/gmime-gpg-context.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gmime/gmime-gpg-context.c b/gmime/gmime-gpg-context.c
index f75f519..175191c 100644
--- a/gmime/gmime-gpg-context.c
+++ b/gmime/gmime-gpg-context.c
@@ -263,6 +263,7 @@ gpg_get_key_exchange_protocol (GMimeCryptoContext *ctx)
return "application/pgp-keys";
}
+#ifdef ENABLE_CRYPTO
static void
set_passphrase_callback (GMimeCryptoContext *context)
{
@@ -273,6 +274,7 @@ set_passphrase_callback (GMimeCryptoContext *context)
else
gpgme_set_passphrase_cb (gpg->ctx, NULL, NULL);
}
+#endif
static int
gpg_sign (GMimeCryptoContext *context, gboolean detach, const char *userid,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]