Fixed uninitialized variable.

This commit is contained in:
Armin Novak 2016-03-02 09:16:49 +01:00
parent 49a0a9c8a5
commit 227ecc4bd5

View File

@ -150,7 +150,7 @@ BOOL CryptProtectMemory(LPVOID pData, DWORD cbData, DWORD dwFlags)
{
BYTE* pCipherText;
size_t cbOut, cbFinal;
WINPR_CIPHER_CTX* enc;
WINPR_CIPHER_CTX* enc = NULL;
BYTE randomKey[256];
WINPR_PROTECTED_MEMORY_BLOCK* pMemBlock;