cipher:ecc: Fix Weierstrass curve with PUBKEY_FLAG_PARAM.
* cipher/ecc-curves.c (point_from_keyparam): Handle the case where EC==NULL. * cipher/ecc-misc.c (_gcry_ecc_sec_decodepoint): Care about EC==NULL.
- GnuPG-bug-id: T8094
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>