aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-04-02 16:49:51 +0000
committerWerner Koch <[email protected]>2019-04-02 16:50:55 +0000
commitf952226043824cbbeb8517126b5266926121c4e8 (patch)
tree95aea53ba69ad90ed40458dcc027a5cdcc48619d /common/util.h
parentdirmngr: Improve domaininfo cache update algorithm. (diff)
downloadgnupg-f952226043824cbbeb8517126b5266926121c4e8.tar.gz
gnupg-f952226043824cbbeb8517126b5266926121c4e8.zip
common: Extend function pubkey_algo_string.
* common/sexputil.c (pubkey_algo_string): Add arg R_ALGOID. * sm/certreqgen-ui.c (gpgsm_gencertreq_tty): Adjust. * tools/gpg-card.c (list_one_kinfo): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h
index 8895137ec..bd6cd1ff5 100644
--- a/common/util.h
+++ b/common/util.h
@@ -192,7 +192,7 @@ gpg_error_t get_rsa_pk_from_canon_sexp (const unsigned char *keydata,
int get_pk_algo_from_key (gcry_sexp_t key);
int get_pk_algo_from_canon_sexp (const unsigned char *keydata,
size_t keydatalen);
-char *pubkey_algo_string (gcry_sexp_t s_pkey);
+char *pubkey_algo_string (gcry_sexp_t s_pkey, enum gcry_pk_algos *r_algoid);
/*-- convert.c --*/
int hex2bin (const char *string, void *buffer, size_t length);