common: Fix openpgp_is_curve_supported.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 24 Oct 2016 02:20:14 +0000 (11:20 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 24 Oct 2016 02:20:14 +0000 (11:20 +0900)
commit945e7ab0ddedf5f58afd97d81e101939de5b5d89
treed6d264a25bcd7ee6d39df56d0b78b7281f436ce0
parentacef0951646b47c87ccc1c616f0105a068e7ed86
common: Fix openpgp_is_curve_supported.

* common/openpgp-oid.c (openpgp_is_curve_supported): Support both of
canonical name of the curve and alias.

--
Only alias (the name for print) was allowed before this change.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
common/openpgp-oid.c