mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Mainly changes to adjust for the changed KSBA API.
This commit is contained in:
parent
f794da4ad4
commit
dba40e5e45
36 changed files with 217 additions and 246 deletions
|
@ -246,7 +246,9 @@ openpgp_pk_test_algo( int algo, unsigned int usage_flags )
|
|||
|
||||
if (algo == GCRY_PK_ELG_E)
|
||||
algo = GCRY_PK_ELG;
|
||||
#ifdef __GNUC__
|
||||
#warning need to handle the usage here?
|
||||
#endif
|
||||
if (algo < 0 || algo > 110)
|
||||
return GPG_ERR_PUBKEY_ALGO;
|
||||
return gcry_pk_algo_info (algo, GCRYCTL_TEST_ALGO, NULL, &value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue