diff options
| author | Werner Koch <[email protected]> | 2020-02-09 13:00:57 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-02-09 13:04:18 +0000 |
| commit | 49c891a9bfac24a1d95e76d33d44a49426247777 (patch) | |
| tree | 9803fe27ec8e3f8274f16da2db1191522cea6dfa /g10/main.h | |
| parent | card: Support brainpool curves in the generate command. (diff) | |
| download | gnupg-49c891a9bfac24a1d95e76d33d44a49426247777.tar.gz gnupg-49c891a9bfac24a1d95e76d33d44a49426247777.zip | |
common: Add OpenPGP<->Gcrypt pubkey id mapping functions.
* g10/misc.c (map_pk_gcry_to_openpgp): Move to ...
* common/openpgp-oid.c (map_gcry_pk_to_openpgp): here and rename.
Change all 4 callers.
(map_openpgp_pk_to_gcry): New.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/main.h')
| -rw-r--r-- | g10/main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h index 2001c8646..ec58795b0 100644 --- a/g10/main.h +++ b/g10/main.h @@ -138,7 +138,6 @@ gpg_error_t openpgp_aead_algo_info (aead_algo_t algo, enum gcry_cipher_modes *r_mode, unsigned int *r_noncelen); -pubkey_algo_t map_pk_gcry_to_openpgp (enum gcry_pk_algos algo); int openpgp_pk_test_algo (pubkey_algo_t algo); int openpgp_pk_test_algo2 (pubkey_algo_t algo, unsigned int use); int openpgp_pk_algo_usage ( int algo ); |
