Home GnuPG

mac: Fix gcry_mac_close to allow for a NULL handle.
d4b86782debbUnpublished

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
rCe189934b7e24: asm: Allow building x86 and amd64 using old compilers.
Branches
Unknown
Tags
Unknown

Event Timeline

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