Diffusion GnuPG d29d73264f60

common: Provide function to get public key algo names in our format.

Authored by werner on Feb 8 2019, 12:10 PM.

Description

common: Provide function to get public key algo names in our format.

* common/sexputil.c (pubkey_algo_string): New.

The new gpg format for public key algorithms is useful at other places
as well. Thus we make this new function available. Note that the
code we use in gpg is not based on s-expressions and thus a new
function was required.

(cherry picked from commit 03bf8e967adb2dd13329ba1089deb419d49e55c0)

Not yet used in 2.2 but will likely be needed by future backports.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerFeb 11 2019, 10:59 AM
Parents
rGee8d1a9e6c09: common: New functions get_option_value and ascii_strupr.
Branches
Unknown
Tags
Unknown