SHA256
1
0
forked from pool/python-gpgme
python-gpgme/0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch
Jan Matejek a9f97a2d5b Accepting request 501420 from home:Pharaoh_Atem:branches:devel:languages:python
- Update to 0.3
- Add patches from Fedora to fix pygpgme with new gpgme
- Convert to singlespec to build for Python 2 and Python 3

OBS-URL: https://build.opensuse.org/request/show/501420
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gpgme?expand=0&rev=6
2017-06-06 14:17:21 +00:00

27 lines
770 B
Diff

From 4cdf2d052bab95eb27de6ca38e52628ba504d639 Mon Sep 17 00:00:00 2001
From: Till Maas <opensource@till.name>
Date: Wed, 20 Jul 2016 16:18:08 +0200
Subject: [PATCH 5/6] add ENCRYPT_NO_ENCRYPT_TO constant
References: https://bugs.launchpad.net/pygpgme/+bug/1192545
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
---
src/pygpgme-constants.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pygpgme-constants.c b/src/pygpgme-constants.c
index c8a2e9c..a23b2ef 100644
--- a/src/pygpgme-constants.c
+++ b/src/pygpgme-constants.c
@@ -157,6 +157,7 @@ static const struct pygpgme_constant constants[] = {
/* gpgme_encrypt_flags_t */
CONST(ENCRYPT_ALWAYS_TRUST),
+ CONST(ENCRYPT_NO_ENCRYPT_TO),
/* gpgme_sigsum_t */
CONST(SIGSUM_VALID),
--
2.7.4