BUG: CryptDestroyHash with HMAC Hash Fails with NTE_BAD_ALGID
Article ID: 185134
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
This article was previously published under Q185134
SYMPTOMS
When you call CryptDestroyHash() with an HMAC hash, it fails with
NTE_BAD_ALGID.
CAUSE
This is a known bug.
RESOLUTION
Do not call CryptDestroyHash() with HMAC hash objects, or ignore the error.
Note that the memory associated with the HMAC hash will leak.
STATUS
We are researching this bug and will post new information here in the
Microsoft Knowledge Base as it becomes available.
Keywords: kbapi kbbug kbcrypt kbkernbase kbpending KB185134