crypt32: Use assignment instead of memcpy to copy a struct.
This commit is contained in:
parent
184f167b19
commit
ab270d433f
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue