Home GnuPG

mac: Fix gcry_mac_close to allow for a NULL handle.
51dae8c8c4b6Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
wernerAuthored on Sep 29 2014, 5:34 PM
Parents
rC8b960a807d16: Add a constant for a forthcoming new RNG.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC51dae8c8c4b6: mac: Fix gcry_mac_close to allow for a NULL handle. (authored by Werner Koch <wk@gnupg.org>).Sep 30 2014, 12:38 PM