From 74a082bc10960b2d65d4d1e31152f988a40a2225 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 25 Aug 2016 15:16:32 +0200 Subject: 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 --- common/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index 1c3cce9a8..f293234e0 100644 --- a/common/util.h +++ b/common/util.h @@ -206,7 +206,7 @@ size_t percent_unescape_inplace (char *string, int nulrepl); gpg_error_t openpgp_oid_from_str (const char *string, gcry_mpi_t *r_mpi); char *openpgp_oid_to_str (gcry_mpi_t a); int openpgp_oid_is_ed25519 (gcry_mpi_t a); -int openpgp_oid_is_crv25519 (gcry_mpi_t a); +int openpgp_oid_is_cv25519 (gcry_mpi_t a); const char *openpgp_curve_to_oid (const char *name, unsigned int *r_nbits); const char *openpgp_oid_to_curve (const char *oid, int canon); const char *openpgp_enum_curves (int *idxp); -- cgit v1.2.3