crypt32: Use assignment instead of memcpy to copy a struct.

This commit is contained in:
Michael Stefaniuc 2013-01-24 15:18:24 +01:00 committed by Alexandre Julliard
parent 184f167b19
commit ab270d433f

View File

@ -692,8 +692,7 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc,
CryptMemAlloc(
cItems * sizeof(struct AsnArrayItemSize));
if (itemSizes)
memcpy(itemSizes, &itemSize,
sizeof(itemSize));
*itemSizes = itemSize;
}
if (itemSizes)
{