From 072acb69be55e366e2da921e3953404765fa3928 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 2 Jun 2016 15:10:52 +0200 Subject: common: New function openpgp_is_curve_supported. * common/openpgp-oid.c: Include openpgpdefs.h. (oidtable): Add field pubkey_algo. (openpgp_is_curve_supported): New. -- 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 84a15ab74..7634885e7 100644 --- a/common/util.h +++ b/common/util.h @@ -214,7 +214,7 @@ int openpgp_oid_is_crv25519 (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); - +const char *openpgp_is_curve_supported (const char *name, int *r_algo); /*-- homedir.c --*/ -- cgit v1.2.3