Home GnuPG
Diffusion GnuPG a6e405308986

common: extend API of openpgp_oid_to_curve for canonical name.
a6e405308986Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common: extend API of openpgp_oid_to_curve for canonical name.

* common/openpgp-oid.c (openpgp_oid_to_curve): Add CANON argument.
* common/util.h: Update.
* g10/import.c (transfer_secret_keys): Follow the change.
* g10/keyid.c (pubkey_string): Likewise.
* g10/keylist.c (list_keyblock_print, list_keyblock_colon): Likewise.
* parse-packet.c (parse_key): Likewise.
* scd/app-openpgp.c (send_key_attr, get_public_key): Likewise.

Change the function so that caller can select canonical name of curve
or name for printing. Suggested by wk.

Details

Provenance
gniibeAuthored on Aug 6 2015, 9:44 AM
Parents
rGd088d2c81690: scd: Fix ecc_oid.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGa6e405308986: common: extend API of openpgp_oid_to_curve for canonical name. (authored by NIIBE Yutaka <gniibe@fsij.org>).Aug 6 2015, 9:51 AM