From 3bcbecea8531dfe49011f7232a32503016e02f83 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 19 Nov 2002 09:36:07 +0000 Subject: [PATCH] 2002-11-19 Marcus Brinkmann * rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation twice, to get fingerprints on subkeys. Suggested by Timo Schulz . (gpg_keylist_ext): Likewise. --- branches/gpgme-0-3-branch/gpgme/ChangeLog | 7 +++++++ branches/gpgme-0-3-branch/gpgme/rungpg.c | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/branches/gpgme-0-3-branch/gpgme/ChangeLog b/branches/gpgme-0-3-branch/gpgme/ChangeLog index b754dc2..f37c566 100644 --- a/branches/gpgme-0-3-branch/gpgme/ChangeLog +++ b/branches/gpgme-0-3-branch/gpgme/ChangeLog @@ -1,3 +1,10 @@ +2002-11-19 Marcus Brinkmann + + * rungpg.c (gpg_keylist): Add --with-fingerprint to gpg invocation + twice, to get fingerprints on subkeys. Suggested by Timo Schulz + . + (gpg_keylist_ext): Likewise. + 2002-11-05 Marcus Brinkmann * import.c (append_xml_impinfo): Use diff --git a/branches/gpgme-0-3-branch/gpgme/rungpg.c b/branches/gpgme-0-3-branch/gpgme/rungpg.c index f67f68f..6cffe35 100644 --- a/branches/gpgme-0-3-branch/gpgme/rungpg.c +++ b/branches/gpgme-0-3-branch/gpgme/rungpg.c @@ -1668,6 +1668,8 @@ _gpgme_gpg_op_keylist (GpgObject gpg, const char *pattern, int secret_only, err = _gpgme_gpg_add_arg (gpg, "--fixed-list-mode"); if (!err) err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint"); + if (!err) + err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint"); if (!err) err = _gpgme_gpg_add_arg (gpg, (keylist_mode & GPGME_KEYLIST_MODE_SIGS)? @@ -1699,6 +1701,8 @@ _gpgme_gpg_op_keylist_ext (GpgObject gpg, const char *pattern[], err = _gpgme_gpg_add_arg (gpg, "--fixed-list-mode"); if (!err) err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint"); + if (!err) + err = _gpgme_gpg_add_arg (gpg, "--with-fingerprint"); if (!err) err = _gpgme_gpg_add_arg (gpg, secret_only ? "--list-secret-keys" : "--list-keys"); -- 2.26.2