mac: Fix gcry_mac_close to allow for a NULL handle.
authorWerner Koch <wk@gnupg.org>
Mon, 29 Sep 2014 15:34:28 +0000 (17:34 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 30 Sep 2014 10:38:47 +0000 (12:38 +0200)
commit51dae8c8c4b63bb5e1685cbd8722e35342524737
treee42f00c1e14598ad8202f5d89b91b292c38ff1a3
parent8b960a807d168000d2690897a7634bd384ac1346
mac: Fix gcry_mac_close to allow for a NULL handle.

* cipher/mac.c (_gcry_mac_close): Check for NULL.
--

We always allow this for easier cleanup.  actually the docs already
tell that this is allowed.
cipher/mac.c