Fixed a bug in the gcry_cipher_get_algo_keylen and gcry_cipher_get_algo_blklen
authorWerner Koch <wk@gnupg.org>
Wed, 29 Jun 2011 13:26:22 +0000 (15:26 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 29 Jun 2011 13:26:22 +0000 (15:26 +0200)
commit7cae9fdfc9e322941545a3a2128a5ead1010a6cf
tree81ffb01412c1ca2516444725336f0ad69f4a75cd
parentea2b4d6653b7e3f483582ee5bf1dc7de2cb0a3f9
Fixed a bug in the gcry_cipher_get_algo_keylen and gcry_cipher_get_algo_blklen

Contrary to the documentation those functions aborted if an invalid
algorithm was passed.  The same happened for the corresponding
subcommands of gcry_cipher_algo_info.
cipher/ChangeLog
cipher/cipher.c
doc/gcrypt.texi
src/gcrypt.h.in