aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-08 13:04:45 +0000
committerWerner Koch <[email protected]>2015-10-08 13:40:53 +0000
commitd7b8e76f9930750d669405dee3108c9bc8e87b91 (patch)
tree33752ea1c1a0ced1c8582f624611138afa16b8b9 /g10/options.h
parentFix two unused/possible-uninitialized var warnings. (diff)
downloadgnupg-d7b8e76f9930750d669405dee3108c9bc8e87b91.tar.gz
gnupg-d7b8e76f9930750d669405dee3108c9bc8e87b91.zip
gpg: Add option --print-dane-records.
* g10/options.h (opt): Add field "print_dane_records". * g10/gpg.c (oPrintDANERecords): new. (opts): Add --print-dane-records. (main): Set that option. * g10/export.c (do_export): Remove EXPORT_DANE_FORMAT handling. (do_export_stream): Add EXPORT_DANE_FORMAT handling. * g10/keylist.c (list_keyblock_pka): Implement DANE record printing. * g10/gpgv.c (export_pubkey_buffer): New stub. * g10/test-stubs.c (export_pubkey_buffer): New stub. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 694c29f8e..d57ab5d11 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -74,6 +74,7 @@ struct
int fingerprint; /* list fingerprints */
int list_sigs; /* list signatures */
int print_pka_records;
+ int print_dane_records;
int no_armor;
int list_packets; /* list-packets mode: 1=normal, 2=invoked by command*/
int def_cipher_algo;