aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-02-01 15:47:46 +0000
committerWerner Koch <[email protected]>2021-02-01 15:48:30 +0000
commitc8fd8870b3bf089f99156448b7d1e59c1150f994 (patch)
tree6a6b41a4a86dd5a822d31f1200889649adb96843 /src/engine-gpg.c
parentPost release updates (diff)
downloadgpgme-c8fd8870b3bf089f99156448b7d1e59c1150f994.tar.gz
gpgme-c8fd8870b3bf089f99156448b7d1e59c1150f994.zip
core: Remove experimental feature GPGME_EXPORT_MODE_NOUID.
* src/export.c (export_start): Remove GPGME_EXPORT_MODE_NOUID check. * src/engine-gpg.c (export_common): Ditto. -- Note that this constant was never announed and used only for internal tests. It made it into some release only by accident. The constants is kept in gpgme.h to not break any code but it is non-fucntionals. We do not consider this an ABI break. GnuPG-bug-id: 5284
Diffstat (limited to 'src/engine-gpg.c')
-rw-r--r--src/engine-gpg.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 9a9a26ef..5e663e16 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -2336,13 +2336,8 @@ export_common (engine_gpg_t gpg, gpgme_export_mode_t mode,
if ((mode & GPGME_EXPORT_MODE_MINIMAL))
{
- if ((mode & GPGME_EXPORT_MODE_NOUID))
- err = add_arg (gpg, "--export-options=export-minimal,export-drop-uids");
- else
- err = add_arg (gpg, "--export-options=export-minimal");
+ err = add_arg (gpg, "--export-options=export-minimal");
}
- else if ((mode & GPGME_EXPORT_MODE_NOUID))
- err = add_arg (gpg, "--export-options=export-drop-uids");
if (err)
;
@@ -2358,8 +2353,6 @@ export_common (engine_gpg_t gpg, gpgme_export_mode_t mode,
else if ((mode & GPGME_EXPORT_MODE_EXTERN))
{
err = add_arg (gpg, "--send-keys");
- if (!err && (mode & GPGME_EXPORT_MODE_NOUID))
- err = add_arg (gpg, "--keyserver-options=export-drop-uids");
}
else
{