mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
crypt32: Correct copying a signer info's attributes.
This commit is contained in:
parent
07979b9975
commit
2fb3d53347
1 changed files with 1 additions and 0 deletions
|
@ -1776,6 +1776,7 @@ static inline void CRYPT_CopyAttributes(CRYPT_ATTRIBUTES *out,
|
|||
if ((*nextData - (LPBYTE)0) % sizeof(DWORD_PTR))
|
||||
*nextData += (*nextData - (LPBYTE)0) % sizeof(DWORD_PTR);
|
||||
out->rgAttr[i].rgValue = (PCRYPT_DATA_BLOB)*nextData;
|
||||
*nextData += in->rgAttr[i].cValue * sizeof(CRYPT_DATA_BLOB);
|
||||
for (j = 0; j < in->rgAttr[i].cValue; j++)
|
||||
CRYPT_CopyBlob(&out->rgAttr[i].rgValue[j],
|
||||
&in->rgAttr[i].rgValue[j], nextData);
|
||||
|
|
Loading…
Reference in a new issue