ecc: Correctly return an error.
* cipher/ecc-ecdh.c (_gcry_ecc_get_algo_keylen): Return 0 for unknow algorithm. (_gcry_ecc_mul_point): Return GPG_ERR_UNSUPPORTED_ALGORITHM for GCRY_ECC_CURVE448 for now. Return GPG_ERR_UNKNOWN_ALGORITHM, otherwise.
- Suggested-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>