cipher: Fix a segv in case of calling with wrong parameters.
authorWerner Koch <wk@gnupg.org>
Thu, 21 Aug 2014 09:47:16 +0000 (11:47 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 21 Aug 2014 10:22:37 +0000 (12:22 +0200)
commitf850add813d783f31ca6a60459dea25ef71bce7e
tree4ba983267897306c947efe70d56e0ac4a2bdeee6
parent18056ace7f466cb8c1eaf08e5dc0400516d83b4c
cipher: Fix a segv in case of calling with wrong parameters.

* cipher/md.c (_gcry_md_info): Fix arg testing.
--

GnuPG-bug-id: 1697
cipher/md.c