cipher: Return GPG_ERR_INV_KEYLEN when wrong key length.
* cipher/idea.c (do_setkey): Return GPG_ERR_INV_KEYLEN. * cipher/rfc2268.c (setkey_core): Likewise. * cipher/serpent.c (serpent_setkey_internal): Likewise. (serpent_setkey): Likewise.
- Reported-by: Guido Vranken <guidovranken@gmail.com>
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>