From: Marcus Brinkmann Date: Tue, 19 Nov 2002 09:36:07 +0000 (+0000) Subject: 2002-11-19 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~768 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3bcbecea8531dfe49011f7232a32503016e02f83;p=gpgme.git 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. --- 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");