Fix the dwDataLen parameter of CryptImportKey(). master
authorFlorian Forster <octo@google.com>
Tue, 28 Jan 2014 21:10:30 +0000 (22:10 +0100)
committerFlorian Forster <octo@google.com>
Tue, 28 Jan 2014 21:12:43 +0000 (22:12 +0100)
commitc0a0ead97cf5dc85429caae24cc2ffe65fb2805c
tree921451220e252c9e15b0716f1363515892b3383f
parent9ee7cd05c0df937fbc09b48ec7078bcf382aeffc
Fix the dwDataLen parameter of CryptImportKey().

According to the documentation (or rather, the example code) this parameter
should specify the size of the entire structure, including the key material.
sizeof(data) (4 or 8 bytes, depending on the architecture) is incorrect in any
case however.
create_hmac/create_hmac.c