mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-24 19:54:21 -04:00
vlmcsd-svn1031-2016-10-06-Hotbird64
This commit is contained in:
parent
0b2c216c06
commit
d413afbadf
54 changed files with 2404 additions and 737 deletions
|
@ -39,7 +39,7 @@ static int_fast8_t AcquireCryptContext()
|
|||
{
|
||||
if (!hRsaAesProvider)
|
||||
{
|
||||
return CryptAcquireContextW
|
||||
return (int_fast8_t)CryptAcquireContextW
|
||||
(
|
||||
&hRsaAesProvider, // Provider handle
|
||||
NULL, // No key container name
|
||||
|
@ -163,7 +163,7 @@ int_fast8_t Sha256Hmac(const BYTE* key, BYTE* restrict data, DWORD len, BYTE* re
|
|||
if (hKey) CryptDestroyKey(hKey);
|
||||
if (hHmacHash) CryptDestroyHash(hHmacHash);
|
||||
|
||||
return success;
|
||||
return (int_fast8_t)success;
|
||||
}
|
||||
|
||||
#endif // _WIN32 || __CYGWIN__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue