summaryrefslogtreecommitdiffstats
path: root/g10/pkglue.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-08-25 15:16:32 +0200
committerWerner Koch <wk@gnupg.org>2016-08-25 15:16:32 +0200
commit74a082bc10960b2d65d4d1e31152f988a40a2225 (patch)
tree23436ff76e3ba122fe81f149d34ef2183fff1c22 /g10/pkglue.c
parentgpg: New option --with-tofu-info. (diff)
downloadgnupg2-74a082bc10960b2d65d4d1e31152f988a40a2225.tar.xz
gnupg2-74a082bc10960b2d65d4d1e31152f988a40a2225.zip
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>
Diffstat (limited to 'g10/pkglue.c')
-rw-r--r--g10/pkglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pkglue.c b/g10/pkglue.c
index 232c489f7..7de2fa7d0 100644
--- a/g10/pkglue.c
+++ b/g10/pkglue.c
@@ -227,7 +227,7 @@ pk_encrypt (pubkey_algo_t algo, gcry_mpi_t *resarr, gcry_mpi_t data,
rc = gpg_error_from_syserror ();
else
{
- int with_djb_tweak_flag = openpgp_oid_is_crv25519 (pkey[0]);
+ int with_djb_tweak_flag = openpgp_oid_is_cv25519 (pkey[0]);
/* Now use the ephemeral secret to compute the shared point. */
rc = gcry_sexp_build (&s_pkey, NULL,