mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Rename an odd named function.
* common/openpgp-oid.c (oid_crv25519): Rename to oid_cv25519. (openpgp_oid_is_crv25519): Rename to openpgp_oid_is_cv25519. Change callers. -- We use "cv25519" everywhere else and thus the test function should not have a surprising name. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
19d12be3ce
commit
74a082bc10
4 changed files with 7 additions and 7 deletions
|
@ -919,7 +919,7 @@ keygrip_from_pk (PKT_public_key *pk, unsigned char *array)
|
|||
pk->pubkey_algo == PUBKEY_ALGO_EDDSA?
|
||||
"(public-key(ecc(curve%s)(flags eddsa)(q%m)))":
|
||||
(pk->pubkey_algo == PUBKEY_ALGO_ECDH
|
||||
&& openpgp_oid_is_crv25519 (pk->pkey[0]))?
|
||||
&& openpgp_oid_is_cv25519 (pk->pkey[0]))?
|
||||
"(public-key(ecc(curve%s)(flags djb-tweak)(q%m)))":
|
||||
"(public-key(ecc(curve%s)(q%m)))",
|
||||
curve, pk->pkey[1]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue