crypt32: Initialize the size to zero.

This commit is contained in:
Huw Davies 2008-08-20 14:32:09 +01:00 committed by Alexandre Julliard
parent 3b306c8d6e
commit b77ba1babf

View file

@ -798,7 +798,7 @@ static BOOL CRYPT_SaveSerializedToMem(HCERTSTORE store,
DWORD dwMsgAndCertEncodingType, void *handle)
{
CERT_BLOB *blob = (CERT_BLOB *)handle;
DWORD size;
DWORD size = 0;
BOOL ret;
ret = CRYPT_WriteSerializedStoreToStream(store, CRYPT_CountSerializedBytes,