diff options
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 816afff0b..61b26f1de 100644 --- a/common/util.h +++ b/common/util.h @@ -201,6 +201,9 @@ gpg_error_t get_rsa_pk_from_canon_sexp (const unsigned char *keydata, size_t *r_nlen, unsigned char const **r_e, size_t *r_elen); +gpg_error_t get_pk_algo_from_canon_sexp (const unsigned char *keydata, + size_t keydatalen, + int *r_algo); /*-- convert.c --*/ int hex2bin (const char *string, void *buffer, size_t length); |