crypt32: Initialize the size to zero.
This commit is contained in:
parent
3b306c8d6e
commit
b77ba1babf
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue