aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-07 15:02:58 +0000
committerWerner Koch <[email protected]>2016-07-07 15:35:20 +0000
commitcbe467e794f3be81b8da2bcb1732b5514b13b71d (patch)
treea8e3cf01a6fbdb45bdfc0ce6d9f789f5f0e25db3 /g10/options.h
parentgpg: Split a too large export function. (diff)
downloadgnupg-cbe467e794f3be81b8da2bcb1732b5514b13b71d.tar.gz
gnupg-cbe467e794f3be81b8da2bcb1732b5514b13b71d.zip
gpg: Add export options "export-pka" and "export-dane".
* g10/options.h (EXPORT_PKA_FORMAT): New. * g10/keylist.c (list_keyblock_pka): Do not use DANE flag. * g10/export.c: Include zb32.h. (parse_export_options): Add options "export-pka" and "export-dane". (do_export): Do not armor if either of these option is set. (print_pka_or_dane_records): New. (do_export_stream): Implement new options. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h
index fc333cd51..2b3cabdf7 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -348,7 +348,8 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
#define EXPORT_RESET_SUBKEY_PASSWD (1<<3)
#define EXPORT_MINIMAL (1<<4)
#define EXPORT_CLEAN (1<<5)
-#define EXPORT_DANE_FORMAT (1<<6)
+#define EXPORT_PKA_FORMAT (1<<6)
+#define EXPORT_DANE_FORMAT (1<<7)
#define LIST_SHOW_PHOTOS (1<<0)
#define LIST_SHOW_POLICY_URLS (1<<1)