diff options
author | Werner Koch <[email protected]> | 2015-08-06 16:12:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-08-06 16:12:31 +0000 |
commit | fb754dc6170d12edf3d35c48340b8d7b1ded20f7 (patch) | |
tree | 30cf043424add39187b9d1d4fe218c67a1043791 | |
parent | gpg: Add commands "fpr *" and "grip" to --edit-key. (diff) | |
download | gnupg-fb754dc6170d12edf3d35c48340b8d7b1ded20f7.tar.gz gnupg-fb754dc6170d12edf3d35c48340b8d7b1ded20f7.zip |
gpg: Remove duplicated printing of the curve name in "sub" lines.
* g10/keylist.c (list_keyblock_print): Do not print extra curve name.
--
This was cruft from the time before we changed to the new algo/size
string.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | g10/keylist.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/g10/keylist.c b/g10/keylist.c index 4ea4bf5c5..038393103 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -1087,18 +1087,6 @@ list_keyblock_print (KBNODE keyblock, int secret, int fpr, pubkey_string (pk2, pkstrbuf, sizeof pkstrbuf), keystr_from_pk (pk2), datestr_from_pk (pk2)); - if (pk2->pubkey_algo == PUBKEY_ALGO_ECDSA - || pk2->pubkey_algo == PUBKEY_ALGO_EDDSA - || pk2->pubkey_algo == PUBKEY_ALGO_ECDH) - { - char *curve = openpgp_oid_to_str (pk2->pkey[0]); - const char *name = openpgp_oid_to_curve (curve, 0); - if (!name) - name = curve; - es_fprintf (es_stdout, " %s", name); - xfree (curve); - } - if ((opt.list_options & LIST_SHOW_USAGE)) { es_fprintf (es_stdout, " [%s]", usagestr_from_pk (pk2, 0)); |