aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-02-09 23:31:07 +0000
committerWerner Koch <[email protected]>2020-02-09 23:31:07 +0000
commit332a72f7340895e7db1e9c5f89046f722bb7465b (patch)
tree28ae6df05fc5d9fbc3564e86bf0f1803e81251c8 /scd/app-openpgp.c
parentcommon: Remove duplicated call to a function. (diff)
downloadgnupg-332a72f7340895e7db1e9c5f89046f722bb7465b.tar.gz
gnupg-332a72f7340895e7db1e9c5f89046f722bb7465b.zip
common: Extend the new get_keyalgo_string function
* common/openpgp-oid.c (openpgp_oid_or_name_to_curve): New. (get_keyalgo_string): Use it. -- We do not always have an OID, so except the name or the alias of the curve as well. This creates a second entry mapping to the same name but that does not matter. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/app-openpgp.c')
0 files changed, 0 insertions, 0 deletions