common: New function openpgp_is_curve_supported.
authorWerner Koch <wk@gnupg.org>
Thu, 2 Jun 2016 13:10:52 +0000 (15:10 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 2 Jun 2016 13:57:59 +0000 (15:57 +0200)
commit072acb69be55e366e2da921e3953404765fa3928
treed23db0510b082584c950ff4e5f6e3dd5a6deb1e2
parentc9f9fabdcc1022a5366e1c841acde55fb07105cb
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 <wk@gnupg.org>
common/openpgp-oid.c
common/util.h