summaryrefslogtreecommitdiffstats
path: root/g10/keyid.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-07-16 15:45:15 +0200
committerWerner Koch <wk@gnupg.org>2003-07-16 15:45:15 +0200
commit4622a2180defd68f7ddd06c4e130b02114573238 (patch)
tree946fb0d36dd4c0c7adaa970b448ce01de22c30fc /g10/keyid.c
parentMinor changes to make make dist work correctly. (diff)
downloadgnupg2-4622a2180defd68f7ddd06c4e130b02114573238.tar.xz
gnupg2-4622a2180defd68f7ddd06c4e130b02114573238.zip
* export.c (parse_export_options): New option sexp-format.
(export_seckeys,export_secsubkeys): Check sexp-format option. (do_export): Ignore armor for sexp format. (do_export_stream): Handle sexp-format. (write_sexp_line,write_sexp_keyparm, build_sexp_seckey): New. (build_sexp): New.
Diffstat (limited to 'g10/keyid.c')
-rw-r--r--g10/keyid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/keyid.c b/g10/keyid.c
index 54a79bcdb..4587fadee 100644
--- a/g10/keyid.c
+++ b/g10/keyid.c
@@ -62,6 +62,7 @@ do_fingerprint_md( PKT_public_key *pk )
gcry_md_open (&md, pk->version < 4 ? DIGEST_ALGO_RMD160
: DIGEST_ALGO_SHA1, 0);
+ gcry_md_start_debug (md, "fpr");
n = pk->version < 4 ? 8 : 6;
for(i=0; i < npkey; i++ ) {
size_t nbytes;