diff options
author | Werner Koch <[email protected]> | 2016-06-02 13:10:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-06-02 13:57:59 +0000 |
commit | 072acb69be55e366e2da921e3953404765fa3928 (patch) | |
tree | d23db0510b082584c950ff4e5f6e3dd5a6deb1e2 /common/util.h | |
parent | common: Add comments on how to enable backtrace(). (diff) | |
download | gnupg-072acb69be55e366e2da921e3953404765fa3928.tar.gz gnupg-072acb69be55e366e2da921e3953404765fa3928.zip |
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 <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 --*/ |