aboutsummaryrefslogtreecommitdiffstats
path: root/src/export.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-10-02 09:18:00 +0000
committerWerner Koch <[email protected]>2018-10-02 09:18:00 +0000
commit7b861945fdc71fd3c82c91f824172dadd2220fa0 (patch)
treec22951a0017218fc9b11889279854ebf9dce7abc /src/export.c
parentdocs: python bindings (diff)
downloadgpgme-7b861945fdc71fd3c82c91f824172dadd2220fa0.tar.gz
gpgme-7b861945fdc71fd3c82c91f824172dadd2220fa0.zip
core: add experimental GPGME_EXPORT_MODE_NOUID.
* src/gpgme.h.in (GPGME_EXPORT_MODE_NOUID): New. * src/export.c (export_start): Adjust option check. * src/engine-gpg.c (export_common): Implement option. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/export.c')
-rw-r--r--src/export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export.c b/src/export.c
index cd94050d..f460e853 100644
--- a/src/export.c
+++ b/src/export.c
@@ -123,6 +123,7 @@ export_start (gpgme_ctx_t ctx, int synchronous, const char *pattern,
|GPGME_EXPORT_MODE_MINIMAL
|GPGME_EXPORT_MODE_SECRET
|GPGME_EXPORT_MODE_RAW
+ |GPGME_EXPORT_MODE_NOUID
|GPGME_EXPORT_MODE_PKCS12)))
return gpg_error (GPG_ERR_INV_VALUE); /* Invalid flags in MODE. */