ecc: Add checking key for ECDSA.
* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_verify): Validate public key. * cipher/ecc-gost.c (_gcry_ecc_gost_verify): Likewise.
Backported-from-master: 598d0f3e0294a487e01b88cc714a8cd0a47329bb
- GnuPG-bug-id: T5282
- Reported-by: Guido Vranken <guidovranken@gmail.com>
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>