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
1 changed files with 1 additions and 1 deletions

View File

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